Commit Graph

20 Commits

Author SHA1 Message Date
cmounce f6df3222ab Rename macro crate, start prepping for publish 2025-07-13 02:15:22 -07:00
cmounce 3afc112810 Fix parser bug: icase literals and non-ASCII input 2025-07-07 11:18:15 -07:00
cmounce 0f7616a5a9 Add ability to walk the capture group tree 2025-06-14 13:26:50 -07:00
cmounce 26a38742f8 Fix bug with literal_i() going beyond EOI 2025-06-07 13:18:49 -07:00
cmounce ea0c5ff7ad Hide low-level parser code in backend module 2025-06-07 12:26:44 -07:00
cmounce 75315499bc Add capture groups to proc macro
- Add capture syntax to grammar!
- Generate Tag enum
- Add ParserState helpers, code generation
2025-06-07 02:13:07 -07:00
cmounce 7940183c70 Port capture group implementation to ParseState 2025-06-01 19:43:48 -07:00
cmounce 96b6733dcb Add @icase decorator 2025-06-01 11:29:31 -07:00
cmounce ad6d8e182b Add case-insensitive matching 2025-05-30 00:41:05 -07:00
cmounce df99d78a64 Add special matchers, lookahead operators 2025-05-28 01:11:41 -07:00
cmounce ee5451e2b5 Add support for compound groups to grammar! macro 2025-05-27 01:30:34 -07:00
cmounce 02a3e9b267 Add grammar! matching on character ranges 2025-05-26 23:43:29 -07:00
cmounce 0994054291 Clean up old code, add option/star/plus ops 2025-05-26 20:56:14 -07:00
cmounce 2a935840fd Add grammar! support for choice operator 2025-05-26 00:42:11 -07:00
cmounce 1e90a68ee8 Generate actual parsing code in grammar! macro 2025-05-26 00:18:15 -07:00
cmounce 63dc9790ed Refactor Term to allow sequences 2025-05-25 21:17:34 -07:00
cmounce 2305e6453f Hacking on grammar! proc macro
- Generated functions take parser state as input
- Start of code generation
- WIP modeling of sequences
2025-05-25 19:52:16 -07:00
cmounce 6933ae47b4 Add basic rule definitions to grammar proc macro 2025-05-25 03:18:56 -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