nice, but would be better to have something simpler that doesn't rely on various libraries and features that are typically forbidden in high performance environments.
incidentally almost every memory leak I deal with comes from not being allowed to allocate my own memory and having to fiddle around with gc and refcount rubbish.
I have written whole non-trivial games with no detectable leaks.
Could you provide some more information about "features that are typically forbidden in high performance environments".
Probably you want a parser expression grammar with a packrat parser if you really want speed anyway.
At the moment I am not smart enough to see how to implement combinators in C in an elegant way without GC of some form. But I'll think about it. Maybe something will occur to me.
incidentally almost every memory leak I deal with comes from not being allowed to allocate my own memory and having to fiddle around with gc and refcount rubbish.
I have written whole non-trivial games with no detectable leaks.