Commit Graph

159 Commits

Author SHA1 Message Date
Sasha Koshka 018dc31d04 Update FSPL parser readme 2024-04-03 11:04:14 -04:00
Sasha Koshka 423f3ba22f Add function in parser for checking if a word is reserved 2024-04-02 02:59:11 -04:00
Sasha Koshka d8f82d3646 Parse switch expressions 2024-03-25 02:18:18 -04:00
Sasha Koshka e27fb9e79b Parse default match cases 2024-03-25 01:53:40 -04:00
Sasha Koshka 3cd3384006 Remove the star from array literals 2024-03-24 20:31:25 -04:00
Sasha Koshka c576c4022e Add for parsing 2024-03-15 03:03:59 -04:00
Sasha Koshka 67a8b67dec Add for parsing to parser test 2024-03-15 03:03:39 -04:00
Sasha Koshka 4df7a8905e Updated parser 2024-03-14 03:14:08 -04:00
Sasha Koshka a8fd79991c Renamed restricted access to opaque access 2024-03-14 01:54:22 -04:00
Sasha Koshka a9c85bf017 Changed restricted access specified from ~ to # 2024-03-14 01:42:19 -04:00
Sasha Koshka db98e590fc Change interface symbol from ~ to & 2024-03-13 23:05:58 -04:00
Sasha Koshka e0d4be8db8 Removed "in" from match statement 2024-03-13 22:44:11 -04:00
Sasha Koshka 8fa9a579fd entity.Match.String() prints "in" instead of "on" 2024-03-04 13:36:07 -05:00
Sasha Koshka 66633be90c Parser understands these new developments 2024-03-02 01:30:45 -05:00
Sasha Koshka e30f2a74da Augh 2024-03-01 21:45:14 -05:00
Sasha Koshka 0e2259bb45 Add match test to parser, fixed parsing and stringing of match 2024-03-01 21:44:20 -05:00
Sasha Koshka f94c562896 Added match statements to the parser
Added match statements to the parser
2024-03-01 21:36:40 -05:00
Sasha Koshka 8d611b6fa6 Add match statement to expresison parsing decision tree 2024-03-01 21:10:03 -05:00
Sasha Koshka c45d0215ba Add union types to parser 2024-03-01 12:35:11 -05:00
Sasha Koshka 0135972e14 Add parser test for union type 2024-03-01 12:34:29 -05:00
Sasha Koshka 24fa83b004 Update expression parsing decision tree in parser/fspl/README.md 2024-03-01 12:11:09 -05:00
Sasha Koshka 3297f6671e Lexer skips over zero runes now 2024-02-23 01:08:58 -05:00
Sasha Koshka 1fd34731ff Metadata.String quotes UUID 2024-02-23 00:24:09 -05:00
Sasha Koshka bd4ed45a45 entity.Metadata now has String() 2024-02-23 00:18:46 -05:00
Sasha Koshka 23052aa6f0 Changed repository import paths 2024-02-22 19:22:53 -05:00
Sasha Koshka 6c7c7c9d99 Real quick add unicode test to parser 2024-02-15 12:43:09 -05:00
Sasha Koshka fcf44fd1ec Ok so maybe that one commit wasn't entirely true 2024-02-15 01:12:51 -05:00
Sasha Koshka 159317965d Parser properly unions position of named types 2024-02-15 01:07:25 -05:00
Sasha Koshka 6b9cdcc239 Parser does *not* actually discard private toplevels while skimming
And it shouldn't! Because it doesn't, the analyzer can say "this is
private" instead of "this doesn't exist".
2024-02-15 01:06:21 -05:00
Sasha Koshka 199da663e9 Parser now actually skims files 2024-02-14 18:49:59 -05:00
Sasha Koshka fb6cbe2c9d Improved the skim test case 2024-02-14 17:40:37 -05:00
Sasha Koshka 9bfc3bf4c6 Add parser test case for skimming 2024-02-14 17:35:44 -05:00
Sasha Koshka 6cd60cc9a6 So I have a better idea 2024-02-14 10:06:20 -05:00
Sasha Koshka ccb7fe46d0 treeParser.lookupUnit returns the current unit UUID on empty string 2024-02-14 02:04:28 -05:00
Sasha Koshka d3d739a24d Parser and entity now refer to units as units instead of modules 2024-02-14 02:01:01 -05:00
Sasha Koshka da4f9b8d67 Parser now translates names to unit UUIDs 2024-02-14 01:55:51 -05:00
Sasha Koshka 3d75cdbd02 Parser now has something of a concept of modules 2024-02-14 01:44:25 -05:00
Sasha Koshka 9d70abc084 Metadata is now an entity 2024-02-13 20:53:15 -05:00
Sasha Koshka b8afa6d9c0 Metadata is now an entity 2024-02-13 20:52:25 -05:00
Sasha Koshka 8b5c6c2d8a Auto-nicknaming should happen at the analysis stage 2024-02-13 17:08:48 -05:00
Sasha Koshka ab9b0a3fa3 Add test cases for metadata parser 2024-02-13 16:33:15 -05:00
Sasha Koshka 97f149cf42 Add metaParser test-common.go 2024-02-13 16:32:59 -05:00
Sasha Koshka 7ed50c8d6f Implemented metadata file parsing 2024-02-13 16:22:10 -05:00
Sasha Koshka f35ba89cd0 Changed wording in fsplParser.treeParser.bug() 2024-02-13 16:21:50 -05:00
Sasha Koshka 59c2ed8502 Flesh out meta.Tree and meta.treeParser with more methods 2024-02-13 16:03:22 -05:00
Sasha Koshka 6b56600c8f Improve doc comments for Parser 2024-02-13 13:07:37 -05:00
Sasha Koshka 5f035df827 Separated parser into two packages 2024-02-13 13:03:22 -05:00
Sasha Koshka 5b24bdc32b Extracted re-usable parsing utilities from parser.parser 2024-02-13 12:31:52 -05:00
Sasha Koshka af1b032a50 OOPS 2024-02-10 18:57:53 -05:00
Sasha Koshka 88e415e9d5 Unexported parser 2024-02-10 18:56:25 -05:00