Re: Idle musings on doing E over again
Kevin Reid <kpreid-M/[email protected]> Mon, 1 Oct 2012 05:11:23 -0700
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
On Sep 30, 2012, at 19:48, Mark S. Miller wrote: > [+awarth] > > Have you looked at ometa <http://tinlizzie.org/ometa/>? How coincidental! I just picked out OMeta/JS as an experimental platform, as I wanted to use PEG for the grammar, and it is close to the sort of parser capabilities I'd like to have built into the resulting system. First impression is that the implementation is mildly crufty, but nothing I can't work around, or fix and submit patches for: • introduces many global definitions and modifies prototypes; I'll either namespaceize the code or stuff it in an iframe. • code generator emits undeclared variables for grammar names and is therefore incompatible with strict mode eval; for now a regex solved the problem but I imagine it would also be a one-line fix to the code. (Still not promising that I'm actually going to follow through on the whole reinvent-E thing, but I'm having "fun" trying to figure out a coherent syntax, anyway.) -- Kevin Reid <http://switchb.org/kpreid/>