Add more flexibility in how whitespace is specified.
[gazelle.git] / README
blobf6da945e4b51b6979ea50740e0d2a332ae6b5284
2 Gazelle: a system for building fast, reusable parsers
4 <http://www.reverberate.org/gazelle/>
6 PRELIMINARY WARNING
7 ===================
9 This is experimental, immature software.  A few things work, but a lot of
10 things don't.  And everything is subject to change: the APIs, the grammar
11 language, everything.
13 Still with me?  Great. :)
15 BUILDING
16 ========
18 You need to have Lua installed to do anything interesting.  The C runtime
19 doesn't need Lua, but without Lua you can't compile any grammars.
21 Gazelle should build out-of-the-box on UNIX-like systems if Lua 5.1 is
22 installed.  Ubuntu Linux and Mac OS X are tested.  Just type make:
24 $ make
26 To build the documentation, you need to have asciidoc installed, as well
27 as graphviz if you want to see the graphics.
29 $ make doc
31 Alternatively you can just read the manual on the Gazelle website.
33 ROADMAP OF THE SOURCE
34 =====================
36 compiler/
37   what parses the grammar, turns it into state machines, and dumps into bytcode
38 compiler/bootstrap
39   compiler code that will not be needed once Gazelle is self-hosting
40 lang_ext/
41   wrappers around the C runtime, for high-level languages (currently only Lua)
42 runtime/
43   the tiny, fast, small-memory-footprint C runtime that actually does the parsing
44 sketches/
45   code that is either half-written or for debugging-only
46 tests/
47   unit tests (not very many at the moment)
48 utilities/
49   command-line utilities for doing useful things
51 CONTACT
52 =======
54 For questions, comments, etc. please post to the gazelle-users group.  I read
55 and respond to posts on this list.
56 http://groups.google.com/group/gazelle-users
58 If you need to contact me directly, I am:
59 Joshua Haberman <joshua@reverberate.org>