Commit Graph

7 Commits

Author SHA1 Message Date
154a71b1f6 core: Add initial codegen sources
Signed-off-by: Ian Moffett <ian@mirocom.org>
2026-02-15 22:17:40 -05:00
52826975e8 core: Add initial symbol table impl
For now, symbol lookups are to require a linear scan. We can speed this
up in the future by adding a cache and further down the line considering
a hashmap.

Signed-off-by: Ian Moffett <ian@mirocom.org>
2026-02-15 13:06:55 -05:00
38ae3eaa14 core: Add state-wide pointer box field
Signed-off-by: Ian Moffett <ian@mirocom.org>
2026-02-14 20:40:08 -05:00
9415ab38bc core: Allocate token buffer
Signed-off-by: Ian Moffett <ian@mirocom.org>
2026-02-14 02:04:20 -05:00
e8abd2e40e state: Ensure compiler state is zeroed
Signed-off-by: Ian Moffett <ian@mirocom.org>
2026-02-14 02:01:51 -05:00
a8772e7d18 state: Start line numbers at 1
Signed-off-by: Ian Moffett <ian@mirocom.org>
2026-02-13 23:51:07 -05:00
e6cc68b8d4 core: Add initial state management
Signed-off-by: Ian Moffett <ian@mirocom.org>
2026-02-13 23:44:48 -05:00