Commit Graph

40 Commits

Author SHA1 Message Date
greg 71b3365de2 Remove all the rest of the instances of Meta from the AST
Still need to do tests
2019-09-20 02:21:39 -07:00
greg e1a83b5de3 Start to use table lookups instead of Meta
For fqsn
2019-09-19 03:34:09 -07:00
greg 8b1dd561f2 Add get_fqsn_from_id opposite lookup method 2019-09-19 03:06:49 -07:00
greg 6ebe893acb Add id_to_fqsn table on symbol table 2019-09-19 02:58:52 -07:00
greg b91c3c9da5 Change design of Statement AST node 2019-09-17 02:25:11 -07:00
greg 08da787aae Make AST a struct 2019-09-11 19:25:12 -07:00
greg 22887678bd Remove lookup_by_name 2019-09-10 03:35:11 -07:00
greg 72944ded1b Fixed all broken tests 2019-09-10 03:31:23 -07:00
greg 34abb9b081 Start work on qualified names 2019-08-31 23:39:01 -07:00
greg 89d967aee4 FullyQualifiedSymbolName string representation 2019-08-30 22:55:59 -07:00
greg 61182a847f Rename lookup_by_path -> lookup_by_fqsn 2019-08-30 19:05:01 -07:00
greg f6dcd7f0b8 Use proper symbol_table lookup in eval 2019-08-30 19:03:52 -07:00
greg 16dc973aa6 Remove one use of symbol_table.lookup_by_name
Should aim to remove it entirely
2019-08-30 18:56:16 -07:00
greg 611e46938d Make symbol names better
Refactor of symbol table to make name lookups
more precise, necessary for struct member lookups
2019-08-30 18:41:47 -07:00
greg 3d6447abb4 Start work on symbol table lookup by type name 2019-08-21 10:10:57 -07:00
greg e750247134 Successfully constructing a record
Not yet destructing it
2019-08-12 12:46:18 -07:00
greg b65d6e4c8e Symbol table notes to self 2019-08-12 11:27:16 -07:00
greg d9eca8ffb3 Handle records more properly in symbol table 2019-08-12 11:18:03 -07:00
greg 33c2786ea1 More complicated FormalParam type 2019-06-16 14:56:52 -07:00
greg ce2a65b044 Clean up some unused code 2019-05-20 16:10:50 -07:00
greg bdcae36b60 More cleaning up of how scopes are stored
on Symbol
2019-03-11 02:47:47 -07:00
greg dbcd2278a6 Renamings 2019-03-11 02:35:42 -07:00
greg 2490aaf3f4 Add types necessary for refactor of Symbol table 2019-03-11 01:36:11 -07:00
greg d4ad97b39a start preparing to get rid of symbol_table.lookup_by_name 2019-03-10 17:32:47 -07:00
greg 24213070a3 Delete useless comment 2019-03-10 17:29:02 -07:00
greg 051669b4cc Stuff pertaining to variant scoping 2019-03-10 17:24:58 -07:00
greg c64f53a050 Detect duplicate variable declarations correctly
Later I'll probably want to make it so that you can explicitly override
the value of a declared variable
2019-03-10 17:02:01 -07:00
greg 8f176543c7 Nested scopes in symbol table 2019-03-10 16:04:20 -07:00
greg 9716b5e55b Symbol table detects some duplicate symbols 2019-03-08 03:57:32 -08:00
greg 956353cd80 Move rc! macro to util
So it can be used anywhere
2019-03-08 01:15:19 -08:00
greg 98db60498a Add very basic symbol table test shim 2019-03-07 23:51:31 -08:00
greg 7694afc9e2 Add type for talking about symbol paths
to symbol table
2019-03-07 20:45:12 -08:00
greg 95fe1941a1 Kill some unused items 2019-02-21 18:39:41 -08:00
greg c0111e30bc SymbolTable: Add Record type 2019-01-25 00:57:01 -08:00
greg 1ce06bc0ef More symbol-table refactoring 2019-01-20 22:32:58 -08:00
greg 10c3a60515 Some symbol-table refactoring 2019-01-20 00:23:08 -08:00
greg 30676722a3 Transition to edition 2018 2019-01-07 13:00:37 -08:00
greg 282c42da3c Adding Node intermediate type to AST 2019-01-05 01:44:32 -08:00
greg 4b9c7e38dd Rename TypeName -> TypeIdentifier 2018-10-18 13:27:09 -07:00
greg 3b20b9e209 Put schala-lang crates into a subdirectory 2018-10-17 14:51:48 -07:00