This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
gazelle /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Jan 22 09:55:34 -0800 2009 | |
| |
LICENSE | Tue Jan 20 21:59:14 -0800 2009 | |
| |
Makefile | Mon Feb 09 21:51:11 -0800 2009 | |
| |
README | Thu Jan 22 09:29:16 -0800 2009 | |
| |
ReleaseNotes | Wed Jan 21 11:08:17 -0800 2009 | |
| |
TODO | Wed Oct 08 00:04:07 -0700 2008 | |
| |
compiler/ | Sat Feb 21 18:43:54 -0800 2009 | |
| |
docs/ | Wed Jan 21 11:04:04 -0800 2009 | |
| |
lang_ext/ | Thu Jan 22 09:29:16 -0800 2009 | |
| |
runtime/ | Sat Feb 21 01:15:53 -0800 2009 | |
| |
sketches/ | Sat Feb 21 18:43:54 -0800 2009 | |
| |
stats.sh | Mon Jan 19 23:08:56 -0800 2009 | |
| |
tests/ | Sat Feb 21 18:43:54 -0800 2009 | |
| |
utilities/ | Wed Jan 21 00:40:09 -0800 2009 |
README
Gazelle: a system for building fast, reusable parsers <http://www.reverberate.org/gazelle/> PRELIMINARY WARNING =================== While Gazelle is getting quite usable, the language and the APIs are still quite subject to change. 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 mostly out-of-the-box on UNIX-like systems if Lua 5.1 is installed, but you may need to tweak the Makefile to point to your local Lua installation. Ubuntu Linux and Mac OS X are tested. To install dependencies on Ubuntu, type: $ sudo aptitude install lua5.1 liblua5.1-0-dev To build and install Gazelle, type: $ make $ make install PREFIX=/usr The PREFIX will default to /usr/local. "make install" installs binaries like the compiler into $PREFIX/bin, headers into $PREFIX/include, and libraries into $PREFIX/lib. To build the documentation, you need to have asciidoc installed, as well as graphviz if you want to see the graphics. $ make $ . lua_path (this is needed since the documentation uses .lua files from the compiler) $ 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 runtime/include public header files for the runtime. 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>







