1 This is a living document - delete things when done. Avoid discussion.
3 Current version (Cataract Creek)
4 - functions to return type with 'use'
5 - functions to return structure with name assignment - bare 'use'?
6 - '?' prefix operator returns Boolean
7 - reference to struct (@foo), with @new, @free, @nil
8 - more number types, no units yet
16 - const fields ... what does that mean? Assign once as initialization?
17 Can be used for array size? What else?
18 - anonymous field - array or struct (or pointer to these)
19 multiple anon struct are allowed if they don't conflict
20 - [] can apply to anon array field
21 - anon struct field gets fields interpolated
23 - anon fields have no name before the :, so
28 - manifest values for arrays and structs [a,b,c]
29 or [.foo=a, .bar=b] or [ [1]=a, [2]=b]
30 That last doesn't parse easily, unless we require tags... not a good idea.
31 [ .[1] = a, .[2] = b ] ?? Maybe.
32 or () to group, [] for index. To (.foo=a) ( [1] = b )
37 - integers, unsigned, bitfield, float, double?
40 - pure, loaded, overloaded, augmented
41 - owned: once, counted, collected
42 - shared or thread-local
44 - array buffer - can be added to and grows.
45 - char, string search, regexp search
47 - allow "do stuff" as a stand-alone statement (scope)
48 - 'use' labels *must* appear in case statements.
50 Next version (Govetts Creek):
51 - functions and procedures
52 - Finalize what a "main" program looks like.
55 - per-field attributes
56 constant, stable, add-only, read-only, mutable, owned, borrowed, dependant, pure
60 - constructors and destructors - or "after" ??
61 - vtables, fat pointers, list of approaches
62 - operators as interface methods
63 - interfaces, inheritance
64 - modules, imports and exports
65 - closures, threads, co-routines, generators
66 - introspection / reflection ?
67 e.g. support serialization
68 find function given a string holding the name
69 measure coverage, adjust based on performance metrics
70 auto-create mock objects
71 Is this just parsing the details in the obj file?
73 - string / slice / strbuf
74 - parsing library - sscanf equiv, regexp, LALR
77 - sockets / http / HTML
78 - parameterised types, and dependant types
79 - message passing primitives
80 - overloading for numbers
82 - ensure list_head type concept can work
84 - pattern matching for destructuring??
87 - iso suffixes for number?
89 - case fall-through or go-to
90 - break/continue or "next","last"