Menu

Tree [677921] master /
 History

HTTPS access


File Date Author Commit
 doc 2011-03-20 jpike jpike [677921] remove feature from docs that does not work yet
 src 2011-03-20 jpike jpike [f712c6] nyu 0.8.2
 .gitignore 2011-03-14 jpike jpike [95260b] split up tutorials
 .gitmodules 2010-09-29 jpike jpike [1eaf30] use github by default, seems to be most reliable
 LICENSE 2010-04-27 jpike jpike [f41074] nyah is now open source
 README 2011-03-13 jpike jpike [a4c948] add blurb
 TODO 2010-10-16 jpike jpike [0906b6] documentation

Read Me

Building:
    cd src/nyu
    ./configure
    make
    make install

This project needs gcc 4.4 minimum to compile. It has been tested with
gcc 4.4.2, 4.4.3 and gcc 4.5. Lately it compiles slowly with any
version of gcc below 4.5

This project is organised like this:
    doc/website/    - The nyu website
    src/
        chilon/     - Library used by this project. git submodule
        nyu/
            grammar/  - Nyu grammars
            cpp/          - nyu AST -> C++
            grammar/      - nyu chilon::parser grammar

Please see http://chilon.net/nyu for documentation.

blurb:

nyu is a combination of modern academic approaches to parsing formal grammars that represents the new state of the art in parser generators. nyu grammars are written in a powerful language based on PEGs (parsing expression grammars) but with modifications to allow both the AST and the parser to be specified intuitively in a single grammar.

nyu outputs parsers that take advantage of the chilon::parser meta-programming library for c++. Generated parsers are almost as concise and readable as the input grammars yet perform as well as hand-written C code.

nyu ASTs are built using tuples, variant types and lists and allow self referential parse rules and AST nodes to be manipulated.

Advanced features such as hashed nodes and grammar inheritance are also possible and well tested. nyu is currently complete enough to deal with complex grammars and bootstraps its own parser.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.