Commit Graph

16 Commits

Author SHA1 Message Date
Suzanne Soy
74c3abcccc Debugging the parser 2020-08-31 13:36:14 +00:00
Suzanne Soy
829bff6c2b Parser on immutable stream of lexemes, returns a rough representation of the AST 2020-08-31 02:27:59 +00:00
Suzanne Soy
afb04df4a6 Lexer on IImmutableEnumerable (replayable streams, leaves open the possibility to make coroutines to update the lexer's tokens later) 2020-08-30 22:22:04 +00:00
Suzanne Soy
90e9a53107 draft for the parser 2020-08-28 02:15:32 +00:00
Suzanne Soy
31dbe188f0 Factor out some of the common parts of the grammar 2020-08-26 00:03:15 +00:00
Suzanne Soy
1cf8cb6bd8 Adding operators should work now 2020-08-23 03:54:12 +00:00
Suzanne Soy
62f7209b14 Moved Parser.cs to MixFix.cs to keep the grammar generation separate. 2020-08-21 01:32:18 +00:00
Suzanne Soy
fce4e7f53c Lenses are working, implemented addition of an operator to the parser. 2020-08-21 00:21:42 +00:00
Suzanne Soy
b517d4f032 This causes an internal error (null pointer exception) in mono when it tries to initialize the types 2020-08-20 20:22:18 +00:00
Suzanne Soy
36ed190a5c Cleaned up metaprogramming utility and lenses for records 2020-08-20 07:02:00 +00:00
Suzanne Soy
9e234f0663 ImmutableDictionary 2020-08-19 22:49:35 +00:00
Suzanne Soy
b0c47947a6 Custom exception classes, HashCode, started Parser 2020-08-19 18:36:41 +00:00
Suzanne Soy
c1b3bd783b Some notes on parsers 2020-08-17 02:11:47 +00:00
Suzanne Soy
ff459fb1fd Lexer now uses a proper automaton. 2020-08-16 00:45:07 +00:00
Suzanne Soy
9a885195c2 Unicode lexer & compilation to JS of strings and of numbers (previously a placeholder). 2020-08-16 00:45:06 +00:00
Suzanne Soy
900749670e Initial commit 2020-08-16 00:45:06 +00:00