Greg Shuflin
5dcfce46cc
Add Options associated type
2021-10-14 01:34:38 -07:00
Greg Shuflin
3cbe80e933
Parameterize Repl over language type
2021-10-14 01:28:24 -07:00
Greg Shuflin
75b1f9cce5
Working on main compiler pipeline
...
Got rid of a bunch of confusingly-designed debugging infrastruture.
Need a better way to handle per-stage debug outputs (also I don't want
to be using stages at all long-term)
2021-10-14 00:03:51 -07:00
Greg Shuflin
c3131a6d5e
WIP thing
2021-10-13 23:45:54 -07:00
Greg Shuflin
7e0acb7d87
Tighten names in Language trait
2021-10-13 01:09:24 -07:00
Greg Shuflin
d3ebcc9654
Fix all current warnings
2021-10-13 00:53:32 -07:00
Greg Shuflin
77bf42be6c
Update to current rust
2021-10-07 00:51:45 -07:00
greg
a2bd9a3985
Remove symbol table from evaluator
2019-11-09 19:52:05 -08:00
greg
efc8497235
Rearchitect parser
...
To ensure that the prelude gets parsed with the same ItemId context as
normal REPL input
2019-10-25 01:49:15 -07:00
greg
3344f6827d
Clear out some compiler warnings
2019-10-23 16:07:10 -07:00
greg
11a9a60a34
Rejiggering some things with the SourceMap pointer in Parser
2019-10-23 14:47:18 -07:00
greg
5bb1a245c4
Have Parser accept SourceMap reference
2019-10-23 14:47:18 -07:00
greg
7495f30e16
Pass SourceMapHandle to SymbolTable
2019-10-23 14:47:18 -07:00
greg
129d9ec673
A bunch of infrastructure for keeping track of AST node locations
...
Plus a failing test to illustrate the reason we care
2019-10-23 14:47:18 -07:00
greg
2f467702e3
Use common scope resolver
...
So that if you import something at the repl, it stays imported
2019-10-21 04:19:26 -07:00
greg
5ac5425fac
Use symbol table handle in resolver
2019-10-21 04:17:30 -07:00
greg
944916d6af
Alias for symbol table handle type
2019-10-21 04:09:43 -07:00
greg
f7357d4498
Add explicit panic for prelude errors
...
Maybe I want to handle this better in the future, but for now just panic
if the prelude is bad for some reason.
2019-10-21 03:25:45 -07:00
greg
904d5c4431
Add "production" line to parse debug output
...
And also add a .next() in the parser that should've been there
2019-10-04 03:12:09 -07:00
greg
e1a83b5de3
Start to use table lookups instead of Meta
...
For fqsn
2019-09-19 03:34:09 -07:00
greg
25f51a314d
Start transitioning design of ast reduction
...
to method-on-struct based system
2019-09-10 09:27:33 -07:00
greg
418d77770f
Start adding symbol_table to scope resolution
2019-09-09 17:45:34 -07:00
greg
cfa65e5339
Wire up all the qualified names
2019-09-08 02:11:15 -07:00
greg
cefaeb1180
Make ScopeResolver struct
2019-09-03 02:59:19 -07:00
greg
0f7f5cb416
Add new stage scope-resolution
2019-09-03 01:42:28 -07:00
greg
a3bb3ee514
Note a bug
2019-08-12 14:13:20 -07:00
greg
aae2ee53cd
More parsing debugging changes
2019-08-12 09:51:36 -07:00
greg
bf3dcc18d0
Fixed trace parsing debug output
2019-08-12 09:34:36 -07:00
greg
baf499ee5a
Fix symbol-table debugging
2019-08-05 03:37:37 -07:00
greg
16bf166fa9
Fix bug with debug specifications
2019-08-05 03:31:10 -07:00
greg
b62968379a
Replace matches with functional constructs
2019-07-28 11:15:28 -07:00
greg
aa705b4eee
Break out actual lib.rs functionality
...
To minimize the amount of meaningful text in files with generic names
2019-07-11 19:21:23 -07:00