[Ometa] Ometa for Euphoria
codepilot at gmail.com
Sat Aug 7 02:41:14 PDT 2010
I made an Ometa implementation for Euphoria (http://rapideuphoria.com/).
I made a grammar for Ometa, then a grammar for Euphoria.
The Ometa grammar can parse itself, then Euphoria grammar can get parsed by
the Ometa grammer, to parse Euphoria.
Round and round, it works the same, just slowing down every time.
I made a euphoria interpreter to run the output of the Euphoria grammar.
I made a grammar to Euphoria code, to make a compiled grammar. It goes
between 2x and 5x the speed.
I've been working on an IDE, it shows the reading process
and compiling process and running process, to the line itself.
I made a JSON parser, then integrated that into Euphoria using the SUPER
statement in the grammar.
I made an XML parser, and did the same. Now either one can be put in without
any escaping or quoting.
I made an HTTP parser, I wanted to be able to download files, and parse out
the content from a tcp stream. It works ok.
I made a binary serialization of Euphoria objects. I made a grammar to parse
The Ometa back end uses works like packrat with the left recursion
Right now it only works on strings, but I have been moving towards complex
data types, lists etc.
I need a good place to stick my code on the internet, do you have any
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OMeta