Commit Graph

27 Commits

Author SHA1 Message Date
Greg Shuflin 53112c9f9d Fix parser bug 2021-10-30 17:32:17 -07:00
Greg Shuflin 209b6bba48 Start adding infrastructure for defining new types 2021-10-29 12:12:41 -07:00
Greg Shuflin cec0f35fc3 Add test for duplicate variant check 2021-10-29 00:48:44 -07:00
Greg Shuflin 30fbc9a721 Add test for duplicate types in symbol table 2021-10-29 00:28:05 -07:00
Greg Shuflin 765a0bec58 Make use of TypeContext in SymbolTable 2021-10-27 15:39:53 -07:00
Greg Shuflin fb31687dea Run rustfmt on symbol_table code 2021-10-21 14:46:42 -07:00
Greg Shuflin 355ed3c749 Rename FQSN -> Fqsn 2021-10-19 21:14:15 -07:00
Greg Shuflin a9b8fdcad6 Track duplicate record definitions 2021-10-19 20:35:53 -07:00
Greg Shuflin 15a08aa8f7 SymbolTable error refactoring 2021-10-19 19:19:21 -07:00
Greg Shuflin 7a0134014b Switch scope to Rc<String> 2021-10-19 17:22:35 -07:00
Greg Shuflin 8b724cf0ff Big refactor of symbol table 2021-10-19 13:48:00 -07:00
Greg Shuflin 845461e2b3 Modify symbol table tests 2021-10-18 23:04:23 -07:00
Greg Shuflin 3ed5f1d16c Refactor SourceMap
Move it into the SymbolTable entirely, make the parser not care about
it.
2021-10-14 06:28:52 -07:00
greg 4a1987b5a2 Test for modules in symbol table 2019-10-24 03:02:52 -07:00
greg c96644ddce Modules in symbol table 2019-10-24 02:13:07 -07:00
greg cc0ac83709 Refactor a lot of symbol table in prep for modules 2019-10-24 01:34:13 -07:00
greg 3344f6827d Clear out some compiler warnings 2019-10-23 16:07:10 -07:00
greg b38c4b3298 SymbolTable passing, fix test for duplicate line 2019-10-23 14:47:18 -07:00
greg a2f30b6136 Refactored symbol_table test 2019-10-23 14:47:18 -07:00
greg 1ffe61cf5f Partway there in terms of implementing source map lookup 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 7825ef1eb9 Partial module work 2019-10-23 14:47:18 -07:00
greg 1493d12a22 Reduce unused imports 2019-10-21 03:02:11 -07:00
greg ca10481d7c Symbol table test - multiple values 2019-10-16 22:46:58 -07:00
greg 26fa4a29ec Put type names into symbol table 2019-10-16 20:22:40 -07:00
greg 97b59d7e70 Symbol table tests to separate file 2019-10-16 19:51:43 -07:00