Sasha Koshka sashakoshka
sashakoshka pushed to main at fspl/fspl 2024-04-12 05:10:30 +00:00
1085cfdc3c Typo
sashakoshka pushed to main at fspl/fspl 2024-04-12 05:08:57 +00:00
ecd9f79aae Add FAQ to README.md
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 04:44:59 +00:00
334a45e06f Oops
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 04:43:38 +00:00
373db2ae81 Added stub for constant expression evaluator
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 04:13:38 +00:00
034d9661b3 Add back switching on constants to the test
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 04:09:33 +00:00
7bad3d5672 Update analyzer tests accordingly
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 04:07:44 +00:00
3485fa1820 Changed constant declaration syntax to not be ambiguous
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 03:58:01 +00:00
b822d57757 Fix an error being ignored when analyzing typedefs
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 03:56:23 +00:00
0a54232e29 Remove tests with switching on constants for now
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 03:22:40 +00:00
94272bff03 Pass some tests
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 02:30:52 +00:00
6ba8b5465b Add untested constant access analysis
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-12 01:50:22 +00:00
0fd35343c1 Untested analysis of constant declarations
d88a34d638 Scope constant declarations
fc930fa3d4 Added a Description() method to Expression
40d500b705 Add IsConstant() to Expression
Compare 4 commits »
sashakoshka pushed to main at fspl/fspl 2024-04-09 19:01:00 +00:00
c934a6c76c Updated readme (conditional comp. -> GOOS/GOARCH)
sashakoshka commented on issue fspl/fspl#17 2024-04-09 18:47:43 +00:00
Implement mutable/immutable variables

This would not require any refactoring of the analyzer which is good because oh god

sashakoshka commented on issue fspl/fspl#17 2024-04-09 18:43:42 +00:00
Implement mutable/immutable variables

The only scenario in which mutability matters is in assignment statements, as there are a fixed amount of assignment scenarios:

  1. Assignment statements
  2. Argument passing to a function or…
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-08 03:47:40 +00:00
6313992c10 Added analyzer tests for constants
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-06 18:01:36 +00:00
e12e83921b Parse constant access unit specifiers
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-06 17:51:20 +00:00
2346c34cce OOps
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-06 17:49:35 +00:00
d8f897d023 Add unit specifiers to constant access
sashakoshka pushed to implement-enumerated-constants at fspl/fspl 2024-04-06 17:41:16 +00:00
386c39126d Parse constant declarations