f4480fe6b1
Generator no longer generates constants because I assumed untrue things
2024-04-21 11:01:07 -04:00
f05efb749d
Generator generates constants
2024-04-21 00:19:33 -04:00
8248135255
Switch statements now evaluate constants
2024-04-20 23:56:50 -04:00
e104da363c
Break functionality out of analyzeTypedef
2024-04-20 23:50:53 -04:00
65af9d7f3c
Perform constant evaluation during constant declaration analysis
2024-04-20 23:47:12 -04:00
b5f5fa4598
Added eval tests
2024-04-20 23:40:41 -04:00
33768c6d84
Added CompareErr to testcommon
2024-04-20 23:07:38 -04:00
293662e474
Errors no longer directly depends on testcommon
2024-04-20 23:07:16 -04:00
334a45e06f
Oops
2024-04-12 00:44:53 -04:00
373db2ae81
Added stub for constant expression evaluator
2024-04-12 00:43:24 -04:00
034d9661b3
Add back switching on constants to the test
2024-04-12 00:12:49 -04:00
7bad3d5672
Update analyzer tests accordingly
2024-04-12 00:09:06 -04:00
3485fa1820
Changed constant declaration syntax to not be ambiguous
2024-04-12 00:07:22 -04:00
b822d57757
Fix an error being ignored when analyzing typedefs
2024-04-11 23:57:47 -04:00
0a54232e29
Remove tests with switching on constants for now
2024-04-11 23:55:40 -04:00
94272bff03
Pass some tests
2024-04-11 23:22:27 -04:00
6ba8b5465b
Add untested constant access analysis
2024-04-11 22:30:31 -04:00
0fd35343c1
Untested analysis of constant declarations
2024-04-11 21:50:05 -04:00
d88a34d638
Scope constant declarations
2024-04-11 21:01:55 -04:00
fc930fa3d4
Added a Description() method to Expression
2024-04-11 20:46:59 -04:00
40d500b705
Add IsConstant() to Expression
2024-04-11 20:25:16 -04:00
6313992c10
Added analyzer tests for constants
2024-04-07 23:47:30 -04:00
e12e83921b
Parse constant access unit specifiers
2024-04-06 14:01:14 -04:00
2346c34cce
OOps
2024-04-06 13:51:11 -04:00
d8f897d023
Add unit specifiers to constant access
2024-04-06 13:49:11 -04:00
386c39126d
Parse constant declarations
2024-04-06 13:40:03 -04:00
7d3074ea2f
Parse constant access
2024-04-03 13:32:45 -04:00
d568d5efef
Add parser tests for constants
2024-04-03 13:32:26 -04:00
7d8378f7d8
Fix FSPL parser readme tree
2024-04-03 12:52:02 -04:00
7ea24b8b31
Add constants to entity
2024-04-03 12:41:31 -04:00
172b2fc8db
Added constants to the spec
2024-04-03 11:33:00 -04:00
c7191ff678
Add enumerated constant access to parser readme
2024-04-03 11:26:49 -04:00
018dc31d04
Update FSPL parser readme
2024-04-03 11:04:14 -04:00
4b90ba77d3
Capitalize W*ndows
2024-04-02 18:36:52 +00:00
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
767e7bd33c
Fix analyzer tests that used "switch" as function name
2024-04-02 02:59:49 -04:00
6c41e71ade
Analyzer tests for reserved idents
2024-04-02 02:59:42 -04:00
423f3ba22f
Add function in parser for checking if a word is reserved
2024-04-02 02:59:11 -04:00
08eedaf74d
Merge pull request 'os-native-filepaths' ( #75 ) from os-native-filepaths into main
...
Reviewed-on: #75
2024-03-31 05:34:22 +00:00
88e10158ae
It is now possible for tests to pass on windows
2024-03-31 01:33:28 -04:00
93d4aea1b1
Compiler tests properly add extension to obj files
2024-03-31 01:33:28 -04:00
810175b6c9
Object files have platform specific extensions
2024-03-31 01:33:28 -04:00
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
00110039e2
Compiler defaults to .o when output name isn't specified
2024-03-28 18:16:58 -04:00
15e418d8c1
Add custom fs implementation
2024-03-28 18:12:37 -04:00
1c61235b63
openAbsolute should strip out the volume name on Windows
2024-03-28 17:16:50 -04:00
4e6103418c
Compiler normalizes paths before passing them to an fs
2024-03-28 16:52:31 -04:00
e805060370
Generator native uses GOARCH and GOOS instead of cond. compilation
2024-03-28 16:02:56 -04:00
eccb2e9a5b
Compiler uses runtime.GOOS instead of conditional compilation
2024-03-28 13:11:27 -04:00
e574b248e5
Total windows path separator death
2024-03-27 13:39:38 -04:00