Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
leg grammar for ooc

Merge pull request #25 from shamanas/master

Added support for null coalescing operator ??
latest commit b5c2991e82
Alexandros Naskos shamanas authored
Failed to load latest commit information.
grammar Added support for null coalescing operator ??
samples BasicTypes parses fully except generics
source/nagaqueen Added support for null coalescing operator ??
test Don't print stack trace in printexceptions
.gitignore Fix printexceptions &
README.rst Updated the README
nagaqueen.use Work in progress - making nagaqueen easy to use, adding all callbacks…


nagaqueen: a peg grammar for ooc

why a grammar?

does it work?

it parses a basic set of the ooc language, and it's updated frequently as we make progress on rock as well

what is peg/leg/greg?

greg is _why's re-entrant fork of Ian Piumarta's peg/leg, then forked again by nddrylliog to fix a few bugs (since _why is gone) and add features.

peg and leg are tools for generating recursive-descent parsers. for more infos, see

how to test it?

don't be shy. open the grammar, modify it to see the effects. it can't hurt, and is actually pretty simple to understand =)

have fun!

Something went wrong with that request. Please try again.