Commit Graph

11 Commits

Author SHA1 Message Date
cdo 1f248ad4cd Remove desugaring step 2024-11-03 12:16:52 +00:00
cdo 18271a2988 Create compile module combining passes together 2024-11-02 16:23:44 +00:00
cdo 018aec5339 Move procedure for running NFA into FSA module 2024-11-02 16:23:44 +00:00
cdo 557ab451a8 Implement conversion from NFA to DFA 2024-11-02 16:23:44 +00:00
cdo 6b52d4d9cd Implement min heap 2024-11-02 14:15:22 +00:00
cdo d35fa4e9da Rename construct to construct_nfa and improve tests 2024-10-29 09:29:10 +00:00
cdo d4b7a0a25c Revert "Use char instead of int for FSA rule input"
This reverts commit eb22abfb1b.
2024-10-27 13:55:12 +00:00
cdo 99b8d3bcd0 Define PARSE_FAIL and use instead of -1 in parse.c 2024-10-27 02:16:14 +00:00
cdo 721d0a2b49 Use runtime asserts instead of error returns in desugar.c
The error paths are not tested and are mostly for NULL allocations so
it makes more sense to use runtime asserts for now for simplicity's
sake.
2024-10-27 02:15:34 +00:00
cdo eb22abfb1b Use char instead of int for FSA rule input 2024-10-27 01:52:33 +00:00
cdo 403d081e13 Move headers into include directories 2024-10-27 00:06:15 +01:00