github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

haberman / gazelle

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 47
    • 4
  • Source
  • Commits
  • Network (4)
  • Issues (0)
  • Downloads (4)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • object-experiment
  • Tags (4)
    • v0.4
    • v0.3
    • v0.2
    • v0.1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A system for creating fast, reusable parsers — Read more

  cancel

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

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Update bibliography with precise reference 
Scott Taylor (author)
Mon Nov 16 01:41:09 -0800 2009
commit  ccb0dc7652df11c95254bc8ab46638ef79b1081f
tree    c9cb12470197a30554cf2d0e1bce1278f789dd70
parent  e3d2566a0f805cc67b44f1f065d57eb99b9ed141
gazelle /
name age
history
message
file .gitignore Thu Jan 22 09:55:34 -0800 2009 Ignore generated files in docs/ too. [mbrubeck]
file LICENSE Tue Jan 20 21:59:14 -0800 2009 Update LICENSE to reflect 2009 copyright. [haberman]
file Makefile Mon Feb 09 21:51:11 -0800 2009 One new test for NFA->DFA conversion, and now a... [haberman]
file README Thu Jan 22 09:29:16 -0800 2009 Fix build out-of-the-box on Ubuntu 8.10. * Use... [mbrubeck]
file ReleaseNotes Wed Jan 21 11:08:17 -0800 2009 Changes to the README and ReleaseNotes. [haberman]
file TODO Wed Oct 08 00:04:07 -0700 2008 A couple additions to the TODO. [haberman]
directory compiler/ Sat Feb 21 18:43:54 -0800 2009 Major refactoring. Gazelle is closer to self-h... [haberman]
directory docs/ Mon Nov 16 01:41:09 -0800 2009 Update bibliography with precise reference [Scott Taylor]
directory lang_ext/ Thu Jan 22 09:29:16 -0800 2009 Fix build out-of-the-box on Ubuntu 8.10. * Use... [mbrubeck]
directory runtime/ Sat Feb 21 01:15:53 -0800 2009 Respect 80 chars and terseness in C parsing code. [haberman]
directory sketches/ Sat Feb 21 18:43:54 -0800 2009 Major refactoring. Gazelle is closer to self-h... [haberman]
file stats.sh Mon Jan 19 23:08:56 -0800 2009 Rename libparse.a -> libgazelle.a. [haberman]
directory tests/ Sat Feb 21 18:43:54 -0800 2009 Major refactoring. Gazelle is closer to self-h... [haberman]
directory utilities/ Wed Jan 21 00:40:09 -0800 2009 Hack hack hack to make the build system work on... [haberman]
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>

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server