FelipeSharkao / chunky-parser

Lightweight parser combinator library for TypeScript
MIT License
0 stars 0 forks source link

Turn into a parser generator #2

Open FelipeSharkao opened 3 months ago

FelipeSharkao commented 3 months ago

I want to use the logic here to create an optimized parsing generator in that produces C (and rust bindings)

FelipeSharkao commented 3 months ago

I can do the same as tree-sitter does: use JS/TS to create a grammar JSON, then use that to generate C code. But differently from tree-sitter, I want this C code to be zero dependency (no std even)