descriptiona system for building fast, reusable parsers
ownerjoshua@reverberate.org
last changeSat, 10 Jan 2009 20:03:28 +0000 (10 12:03 -0800)
content tags
add:
README
Gazelle: a system for building fast, reusable parsers

<http://www.reverberate.org/gazelle/>

PRELIMINARY WARNING
===================

This is experimental, immature software.  A few things work, but a lot of
things don't.  And everything is subject to change: the APIs, the grammar
language, everything.

Still with me?  Great. :)

BUILDING
========

You need to have Lua installed to do anything interesting.  The C runtime
doesn't need Lua, but without Lua you can't compile any grammars.

Gazelle should build out-of-the-box on UNIX-like systems if Lua 5.1 is
installed.  Ubuntu Linux and Mac OS X are tested.  Just type make:

$ make

To build the documentation, you need to have asciidoc installed, as well
as graphviz if you want to see the graphics.

$ make doc

Alternatively you can just read the manual on the Gazelle website.

ROADMAP OF THE SOURCE
=====================

compiler/
  what parses the grammar, turns it into state machines, and dumps into bytcode
compiler/bootstrap
  compiler code that will not be needed once Gazelle is self-hosting
lang_ext/
  wrappers around the C runtime, for high-level languages (currently only Lua)
runtime/
  the tiny, fast, small-memory-footprint C runtime that actually does the parsing
sketches/
  code that is either half-written or for debugging-only
tests/
  unit tests (not very many at the moment)
utilities/
  command-line utilities for doing useful things

CONTACT
=======

For questions, comments, etc. please post to the gazelle-users group.  I read
and respond to posts on this list.
http://groups.google.com/group/gazelle-users

If you need to contact me directly, I am:
Joshua Haberman <joshua@reverberate.org>
shortlog
2009-01-10 Joshua HabermanAdd more flexibility in how whitespace is specified.master
2009-01-10 Joshua HabermanProper EOF handling for GLAs.
2009-01-10 Joshua HabermanMore correct and robust EOF handling.
2009-01-10 Joshua HabermanAdd a sketch illustrating a challenge dealing with...
2009-01-09 Joshua HabermanSmall bugfixes to interpreter.
2009-01-09 Joshua HabermanFix slotnum encoding in bytecode to handle -1 (no slotn...
2009-01-09 Joshua HabermanFix a few typos in the manual.
2009-01-09 Joshua HabermanA first pass at subparsers (whitespace ignoring).
2008-11-30 Joshua HabermanUpdate ReleaseNotes for true release date of 0.3.
2008-11-30 Joshua HabermanManual updates in anticipation of v0.3.
2008-10-16 Joshua HabermanSome more work (though very in-progress) on the manual.
2008-10-10 Joshua HabermanMany more updates for the manual.
2008-10-10 Joshua HabermanImprove error message for ambiguity.
2008-10-10 Joshua HabermanDetect and error when a grammar refers to a rule that...
2008-10-10 Joshua HabermanA lot of work to the manual for 0.3.
2008-10-08 Joshua HabermanSome more minor work in anticipation of v0.3.
...
tags
15 years ago v0.2
16 years ago v0.1
heads
15 years ago master