Commit Graph

871 Commits

Author SHA1 Message Date
greg ec5580d20b prefix op reduction 2018-07-26 00:52:46 -07:00
greg 9de66a9af3 Unimplemented sigil 2018-07-26 00:52:46 -07:00
greg 633b4fe7a4 Nats, some binop reduction 2018-07-26 00:52:46 -07:00
greg 87c3b8e234 Some work 2018-07-26 00:52:46 -07:00
greg 16a463b1a0 Method-style 2018-07-26 00:52:46 -07:00
greg c3be644133 Optional scope name 2018-07-26 00:52:46 -07:00
greg e7615fda8b Add new_frame method 2018-07-26 00:52:46 -07:00
greg 111657b567 Add generic stack data structure
I'll want to use this soon enough
2018-07-26 00:52:46 -07:00
greg c5e8d3e080 Random notes re: symbol table
I'm proably gonna want to redo the symbol table stuff after reading Language
Implementation Patterns, esp. to accomodate scopes
2018-07-26 00:52:46 -07:00
greg 4f49c183b0 Float + reduce binop/prefixop 2018-07-26 00:52:46 -07:00
greg 81368179bb More boilerplate 2018-07-26 00:52:46 -07:00
greg 30128d7d34 Easy work 2018-07-26 00:52:46 -07:00
greg 6c718e5d4f Start AST-reducing 2018-07-26 00:52:46 -07:00
greg 774ddd665b Infrastructure to evaluate reduced AST 2018-07-26 00:52:46 -07:00
greg 0bb0ecea76 Add new ast reducing pass 2018-07-26 00:52:46 -07:00
greg 59a7c11031 Hook --debug flag to new debug framework 2018-07-26 00:52:46 -07:00
greg b54a9774ed Rename schala source files to be clearer 2018-07-26 00:52:46 -07:00
greg a9c0341d38 Half-assed implemention of tab completion
Bah this is boring. Maybe I want to switch back to linefeed?
2018-07-26 00:52:46 -07:00
greg 2d260c14d7 Add Unified Construction Syntax article 2018-07-26 00:52:46 -07:00
greg 7686707602 Type alias Vec<String> -> Block 2018-07-26 00:52:46 -07:00
greg 670833185b Start adding tab completion API 2018-07-26 00:52:46 -07:00
greg 012c50b7c3 Kill commented lines 2018-07-26 00:52:46 -07:00
greg f1a64adfd9 Kill a few lines of code 2018-07-26 00:52:46 -07:00
greg e46eeb91f3 Highlight enabled debug passes 2018-07-26 00:52:46 -07:00
greg d524389f1d Kill old DebugOptions struct 2018-07-26 00:52:46 -07:00
greg 890e6bd4c5 Minor wording changes 2018-07-26 00:52:46 -07:00
greg 8826d5b0d4 For now, don't error out with typechecking 2018-07-26 00:52:46 -07:00
greg 8ad5dd9056 Rename passes 2018-07-26 00:52:46 -07:00
greg fb168da8bd Kill comments 2018-07-26 00:52:46 -07:00
greg 78fdea180e Rename stages -> passes 2018-07-26 00:52:46 -07:00
greg 00e68d09c7 Kill comment 2018-07-26 00:52:46 -07:00
greg 73c3eeb69d stage -> pass 2018-07-26 00:52:46 -07:00
greg 86e88ee1bf Greatly fleshed out custom derive 2018-07-26 00:52:46 -07:00
greg d1a2473bb2 More derive work 2018-07-26 00:52:46 -07:00
greg 57ccdd5ead Extract out attr parsing code into a separate function 2018-07-26 00:52:46 -07:00
greg c0746028f4 Automate language name 2018-07-26 00:52:46 -07:00
greg c6f038a307 Successfully parse language name 2018-07-26 00:52:46 -07:00
greg e498e19ffc Use extra attribute 2018-07-26 00:52:46 -07:00
greg 51cdedb9cc Actually autogenerate the trait 2018-07-26 00:52:46 -07:00
greg 50236ac942 Kill unused mut 2018-07-26 00:52:46 -07:00
greg 1e4554258f KIll old code 2018-07-26 00:52:46 -07:00
greg 9ade0dd1e2 Kill unnecessary mutable 2018-07-26 00:52:46 -07:00
greg 7ba8c9dab9 Tokenize errors 2018-07-26 00:52:46 -07:00
greg 774ab5f72e Token errors WIP 2018-07-26 00:52:46 -07:00
greg 50499c8a33 Remove some compiler warnings 2018-07-26 00:52:46 -07:00
greg a10df92ab8 Debug work 2018-07-26 00:52:46 -07:00
greg fe64cbcd3a Refactor 2018-07-26 00:52:46 -07:00
greg 061d54702f Implement debug stages as a HashSet of strings
Change to custom enum type later
2018-07-26 00:52:46 -07:00
greg 27885500fd Show debug stages 2018-07-26 00:52:46 -07:00
greg aaf98db2b7 Starting to move debug options around
+ add method to ProgrammingLanguageInterface that is a list of stages
2018-07-26 00:52:46 -07:00