Erlang/OTP Forums

Author Message

<  User Contributions  ~  neotoma, a PEG/packrat toolkit

seancribbs
Posted: Tue Jun 23, 2009 12:16 am Reply with quote
User Joined: 03 May 2009 Posts: 17 Location: Chapel Hill, NC
neotoma generates packrat parsers from PEG (Parsing Expression Grammar) files. While Erlang already has leex and yecc for building parsers, neotoma provides an alternative that makes certain types of languages simpler to express and understand. For more detailed information on PEGs and packrat parsers, I encourage you to visit Bryan Ford's resource page.

More detail about the library can be found in the README, and in my series of blog posts.

neotoma is licensed under the MIT License.



neotoma-1.0.tar.gz
 Description:

Download
 Filename:  neotoma-1.0.tar.gz
 Filesize:  10.25 KB
 Downloaded:  1022 Time(s)

View user's profile Send private message
seancribbs
Posted: Mon Jun 29, 2009 1:18 pm Reply with quote
User Joined: 03 May 2009 Posts: 17 Location: Chapel Hill, NC
Version 1.1 includes these enhancements:

* The build process now uses make and erl -make instead of rake.
* neotoma now has an .app file.
* neotoma is now self-hosting, that is, the metagrammar-parser can generate itself. Use `make bootstrap` to try it out.
* The parser generator will now print some useful warnings and errors if you have unused reductions or dangling nonterminals in your grammar. If you have the latter, a parser will NOT be generated and the process will exit.

NOTE: You must have the library in $ERLANG_LIB to build properly.



neotoma-1.1.tar.gz
 Description:

Download
 Filename:  neotoma-1.1.tar.gz
 Filesize:  10.55 KB
 Downloaded:  1119 Time(s)

View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum