Commit Graph

24 Commits

Author SHA1 Message Date
cmounce a86c4f9e4a Add Context struct for locating compiler messages 2025-07-03 22:27:35 -07:00
cmounce 1deccaf9c8 Add first warning to compiler output 2025-06-29 01:46:07 -07:00
cmounce c29361214a Clean up main.rs, stdout, some compile warnings 2025-06-22 15:08:02 -07:00
cmounce 68938b5e00 Wire together initial label sanitization pass 2025-06-15 12:48:44 -07:00
cmounce bdb5650904 Write initial code for parsing stats into chunks 2025-06-14 12:48:55 -07:00
cmounce 0994054291 Clean up old code, add option/star/plus ops 2025-05-26 20:56:14 -07:00
cmounce 1d8c939400 Try generating named functions via proc macros 2025-05-25 02:20:03 -07:00
cmounce 59392ccad2 Playing with proc macros 2025-05-23 23:21:51 -07:00
cmounce dbe4e8963e Proof of concept parsing: print all labels 2025-05-10 17:43:17 -07:00
cmounce 228188ffd0 Move string encoding/decoding into world parser 2025-05-04 14:45:34 -07:00
cmounce e5d47a0f3c Fix bug when parsing off-board stats 2025-05-04 13:23:36 -07:00
cmounce b03cccb8dd Partial work toward a PEG parser library 2025-05-01 01:33:04 -07:00
cmounce 58293ed625 Bump edition to 2024, cargo fmt 2025-04-07 11:09:45 -07:00
cmounce c1af3290d5 Implement a working %include macro 2024-06-08 19:50:57 -07:00
cmounce 0ac9ee4a3f Add macro evaluator with %include implementation 2024-06-03 10:41:11 -07:00
cmounce 4730f11f31 Implement a basic parser, with snapshot testing 2024-06-01 11:01:01 -07:00
cmounce 669bcbfcb7 Start work on lexer for macro language 2024-04-29 00:22:18 -07:00
cmounce 4363fd04ac Parse world header into individual fields 2024-04-07 20:54:29 -07:00
cmounce 9e2eb5a07b Move parsing code to new file, convert more to nom
This commit also implements a custom error type to capture why a
World/Board failed to load -- which I might end up tearing out.
2024-03-16 22:54:50 -07:00
cmounce 7c31089eda Extend serialization support to worlds 2024-03-10 21:09:48 -07:00
cmounce 2c9bb315ed Add serialization support for boards 2024-03-10 20:21:16 -07:00
cmounce 2d9fce3f59 Remove last use of byteorder crate 2024-03-09 23:29:51 -08:00
cmounce 59221648ca Expand Stat parsing to cover all fields
Also in this commit: taking nom for a spin.
2024-03-09 01:39:34 -08:00
cmounce d68986e977 Write start of ZZT preprocessor
It's messy, but it can parse worlds now!
2024-03-07 01:21:54 -08:00