Commit Graph
758 Commits
Author SHA1 Message Date
sashakoshka e12e83921b Parse constant access unit specifiers 2024-04-06 14:01:14 -04:00
sashakoshka 2346c34cce OOps 2024-04-06 13:51:11 -04:00
sashakoshka d8f897d023 Add unit specifiers to constant access 2024-04-06 13:49:11 -04:00
sashakoshka 386c39126d Parse constant declarations 2024-04-06 13:40:03 -04:00
sashakoshka 7d3074ea2f Parse constant access 2024-04-03 13:32:45 -04:00
sashakoshka d568d5efef Add parser tests for constants 2024-04-03 13:32:26 -04:00
sashakoshka 7d8378f7d8 Fix FSPL parser readme tree 2024-04-03 12:52:02 -04:00
sashakoshka 7ea24b8b31 Add constants to entity 2024-04-03 12:41:31 -04:00
sashakoshka 172b2fc8db Added constants to the spec 2024-04-03 11:33:00 -04:00
sashakoshka c7191ff678 Add enumerated constant access to parser readme 2024-04-03 11:26:49 -04:00
sashakoshka 018dc31d04 Update FSPL parser readme 2024-04-03 11:04:14 -04:00
sashakoshka 4b90ba77d3 Capitalize W*ndows 2024-04-02 18:36:52 +00:00
sashakoshka 2a6f086350 Merge pull request 'implement-reserved-identifiers' (#76) from implement-reserved-identifiers into main
Reviewed-on: #76
2024-04-02 07:00:59 +00:00
sashakoshka 767e7bd33c Fix analyzer tests that used "switch" as function name 2024-04-02 02:59:49 -04:00
sashakoshka 6c41e71ade Analyzer tests for reserved idents 2024-04-02 02:59:42 -04:00
sashakoshka 423f3ba22f Add function in parser for checking if a word is reserved 2024-04-02 02:59:11 -04:00
sashakoshka 08eedaf74d Merge pull request 'os-native-filepaths' (#75) from os-native-filepaths into main
Reviewed-on: #75
v0.5.0
2024-03-31 05:34:22 +00:00
sashakoshka 88e10158ae It is now possible for tests to pass on windows 2024-03-31 01:33:28 -04:00
sashakoshka 93d4aea1b1 Compiler tests properly add extension to obj files 2024-03-31 01:33:28 -04:00
sashakoshka 810175b6c9 Object files have platform specific extensions 2024-03-31 01:33:28 -04:00
sashakoshka b6b0a1e592 parent 00110039e2
author Sasha Koshka <sashakoshka@tebibyte.media> 1711851967 -0400
committer Sasha Koshka <sashakoshka@tebibyte.media> 1711862974 -0400

Compiler tests now run on Windows

Compiler tests show linker log

Compiler tests show linker log
2024-03-31 01:33:08 -04:00
sashakoshka 00110039e2 Compiler defaults to .o when output name isn't specified 2024-03-28 18:16:58 -04:00
sashakoshka 15e418d8c1 Add custom fs implementation 2024-03-28 18:12:37 -04:00
sashakoshka 1c61235b63 openAbsolute should strip out the volume name on Windows 2024-03-28 17:16:50 -04:00
sashakoshka 4e6103418c Compiler normalizes paths before passing them to an fs 2024-03-28 16:52:31 -04:00
sashakoshka e805060370 Generator native uses GOARCH and GOOS instead of cond. compilation 2024-03-28 16:02:56 -04:00
sashakoshka eccb2e9a5b Compiler uses runtime.GOOS instead of conditional compilation 2024-03-28 13:11:27 -04:00
sashakoshka e574b248e5 Total windows path separator death 2024-03-27 13:39:38 -04:00
sashakoshka 43ed297a12 Add Windows paths to design/units.md 2024-03-27 13:38:13 -04:00
sashakoshka 76615df4d4 Add option to specify module search paths manually 2024-03-27 13:13:22 -04:00
sashakoshka 2caed5b4ae Add an executable filetype 2024-03-27 12:52:20 -04:00
sashakoshka cd396952f2 Certain filename extentions depend on target os 2024-03-27 12:40:45 -04:00
sashakoshka 0404202691 Compiler takes in a target 2024-03-27 12:10:19 -04:00
sashakoshka 92ad52b2aa Add OS field to Target 2024-03-27 12:05:30 -04:00
sashakoshka 10246f7268 Add untested windows native paths 2024-03-27 11:24:26 -04:00
sashakoshka 2edda8a960 Add stub for Windows native parameters 2024-03-26 13:15:56 -04:00
sashakoshka 11e7a83eb4 Add native paths for unix 2024-03-26 13:15:03 -04:00
sashakoshka 9b45bc56d4 Resolver is now used behind a pointer 2024-03-26 13:12:38 -04:00
sashakoshka b9e0b3265e fsplc and fsplmod use rooted paths to identify things
Remedies #71
2024-03-26 02:07:27 -04:00
sashakoshka 48fa712cb7 Update fsplc/doc.go usage 2024-03-26 02:07:04 -04:00
sashakoshka cad6a0759a Compiler now uses LLVM-like output filetype names
Remedies #40
2024-03-26 01:53:10 -04:00
sashakoshka 6c7fcf6045 Add compiler test for puts libc function 2024-03-26 01:18:39 -04:00
sashakoshka eb2c1c8aed Fixed error message for types in match exprs not being unions 2024-03-26 01:12:47 -04:00
sashakoshka 78ea6e45b2 Update roadmap 2024-03-26 01:01:02 -04:00
sashakoshka ebafbc2a38 Merge pull request 'implement-switch-expressions' (#70) from implement-switch-expressions into main
Reviewed-on: #70
2024-03-26 04:55:45 +00:00
sashakoshka 650289f03e Generate switch statements 2024-03-26 00:42:27 -04:00
sashakoshka 5dda7b2186 Generate match statement default cases 2024-03-25 22:34:24 -04:00
sashakoshka 4931f97496 Switch statement analysis passes tests 2024-03-25 19:50:54 -04:00
sashakoshka f3bdfef5c5 Add analyzer tests to switch statements 2024-03-25 19:49:48 -04:00
sashakoshka a50a5febb9 Untested analysis of switch statements 2024-03-25 12:08:28 -04:00