bash0r/Green-Tea — Issue #2: TODO List
Author: nandykins
Created: 2011-11-24 22:32:37+00:00
State: open

1. Preparser/Postparser steps (See: GTL\Parsers\Parsers.cs)
-> comments, string escaping, whitespace around operators, preprocessor, includes, syntax drawins, etc.

2. Built-in functions and I/O
-> Will probably use Reflection to auto-generate functions from some ‘static protected internal partial class’, postponed for now

3. (Maybe?) Built-in streams or channel types, perhaps using Lazy Lists
-> Highly doubtful, violates principle of immutable data

4. Built-in parser wrappers for from/select blocks and lazy lists
-> Consider adding DelegateExpression to wrap C# code inside an arbitrary “expression” for use with a GTLazy

5. Built-in syntax for accessing list elements, list pre-insertion and so on (idea: use >- and >~ to insert items/ranges at the beginning)
-> Add expression [] for indexing, with :[] analog (like functions)

6. Self-balancing binary tree insertion for GTTree type, currently rapidly evolves into degenerate tree during addition
-> Consider trade-offs between tree quality and amount of memory that needs to be copied, favoring pre-existing regions might be worth the cost considering they can be reduced to a simple reference. Will need further thought.