Commit Graph

428 Commits

Author SHA1 Message Date
4e385edac8 Analyzer makes use of entity.FormatType 2024-02-12 14:47:49 -05:00
069371d859 Add test cases for formatting nil type as Void 2024-02-12 14:47:09 -05:00
cb3e5b6bfb Add entity.FormatType() 2024-02-12 14:34:49 -05:00
7d2f435d18 Merge pull request 'polish-compiler' (#35) from polish-compiler into main
Reviewed-on: sashakoshka/fspl#35
2024-02-11 18:06:08 +00:00
203fb4fca4 Compiler now takes in a format override parameter 2024-02-11 12:55:43 -05:00
ea0f2ca169 Add cli.NewValueSet() to validate against several values 2024-02-11 12:38:46 -05:00
0ca9f5c069 Fix some issues with cli related to argument values 2024-02-11 12:37:08 -05:00
c5e75a7182 Better documentation for cli package 2024-02-11 12:32:53 -05:00
0d2d7fae02 Broke cli into a separate package 2024-02-11 12:13:49 -05:00
0c48538888 Compiler now parses CLI argument values correctly 2024-02-11 03:40:47 -05:00
2932e0c7d6 Compiler prints a special error if output path has no extension 2024-02-11 03:40:00 -05:00
21ab4f5fca errors.Format does not crash when formatting normal error 2024-02-11 03:35:27 -05:00
b4a886b126 Created a new argument parsing system 2024-02-11 03:33:16 -05:00
2bc5eb1f49 Break fsplc Compiler type into a different file 2024-02-11 01:55:07 -05:00
4895f09f99 Merge pull request 'fix-chained-methods' (#32) from fix-chained-methods into main
Reviewed-on: sashakoshka/fspl#32
2024-02-11 02:35:37 +00:00
bf73821dbd New test for generator confirmed to work, filled out 2024-02-10 21:31:10 -05:00
2d5a747be6 testcommon last column no longer has trailing spaces 2024-02-10 21:24:09 -05:00
2571fcde99 Add same test as stub to generator 2024-02-10 21:20:24 -05:00
e6bc09e622 Fixed crash in analyzer that caused #31 2024-02-10 21:16:22 -05:00
29608f87da Test case code was wrong, methods need to return Number 2024-02-10 21:15:56 -05:00
07b7571f94 Analyzer test-common now formats errors properly 2024-02-10 21:14:30 -05:00
d6d7423087 Add #31 as test case 2024-02-10 21:10:49 -05:00
05f31c00a8 Add .editorconfig 2024-02-10 19:03:38 -05:00
af1b032a50 OOPS 2024-02-10 18:57:53 -05:00
88e415e9d5 Unexported parser 2024-02-10 18:56:25 -05:00
1593ecef7b Merge pull request 'document-packages' (#30) from document-packages into main
Reviewed-on: sashakoshka/fspl#30
2024-02-10 23:52:17 +00:00
b0c5130858 Updated spec a little 2024-02-10 18:49:10 -05:00
deae98001d Fix small issues with generator readme 2024-02-10 18:32:35 -05:00
a91922e749 Add generator README.md 2024-02-10 18:26:51 -05:00
51e85f6cf8 Bring over better doc on assignment modes to the source file 2024-02-10 14:50:43 -05:00
eacde3a4f9 Add analyzer README.md 2024-02-10 14:47:47 -05:00
21e6fb94a1 HHHHHHHHH 2024-02-09 22:36:21 -05:00
e2eb5bbee1 God 2024-02-09 20:23:22 -05:00
dd87e1338c Fix mistake in parser readme 2024-02-09 20:22:05 -05:00
4d7d9ac33d Add parser README.md 2024-02-09 20:18:21 -05:00
ed2acd2f86 DESIGN.md -> README.md
Want this to show up in git web interfaces
2024-02-09 18:02:03 -05:00
c7c56dcb39 I need to sleep 2024-02-09 04:44:09 -05:00
f8ca067f54 Enhanced lexer/DESIGN.md 2024-02-09 04:42:03 -05:00
f807ced41d Add DESIGN.md to lexer 2024-02-09 04:37:39 -05:00
52da21b60d Merge pull request 'dont-create-lexer' (#27) from dont-create-lexer into main
Reviewed-on: sashakoshka/fspl#27
2024-02-09 09:14:29 +00:00
92d4916997 Update fsplc command 2024-02-09 04:05:44 -05:00
35299ea526 Updated generator's test-common 2024-02-09 04:02:55 -05:00
6325e46c1c Updated analyzer's test-common 2024-02-09 04:01:41 -05:00
86a45d5e8a Udpated parser's test-common 2024-02-09 03:59:00 -05:00
d6aa28602c Remedy #25 2024-02-09 03:48:44 -05:00
0de38082ec Change parser constructor, tree's parsing methods
Now accept lexers instead of io.Readers
2024-02-09 03:44:29 -05:00
b2f238314a Merge pull request 'document-packages' (#26) from document-packages into main
Reviewed-on: sashakoshka/fspl#26
2024-02-09 08:39:46 +00:00
4d19ad085f Remove llvm/README.md
The information in that file is now a doc comment
2024-02-09 03:37:10 -05:00
74a5527067 Add package level doc comment to llvm 2024-02-09 03:35:42 -05:00
92070d142e Add module level doc comment to analyzer 2024-02-09 03:30:24 -05:00