Waxeye is a parser generator based on parsing expression grammars (PEGs).
Currently supported programming languages:
- Racket
-
Language-agnostic, modular, composable grammars
-
Automatic AST generation
-
Command-line grammar interpreter
-
Grammar testing DSL
Waxeye's user manual is in docs/manual.html. The latest version is also
online at http://waxeye.org/manual.html.
-
Extract the files of the distribution.
-
Copy the
waxeyedirectory to where you wish to install it. -
Add the
bin/waxeyebinary to your search path. e.g. If you have~/binin yourPATHand installed waxeye to/usr/local/waxeyethen you might do the following.ln -s /usr/local/waxeye/bin/waxeye ~/bin/
-
Extract the files of the distribution.
-
Copy the
waxeyedirectory to where you wish to install it.
Use the waxeye command.
Use a command prompt to run waxeye.exe. Note: If using the interpreter under
Windows, you will need to press Ctrl-z and then 'Enter' after the input you
want to interpret.
-
Install Racket
-
Install Waxeye's backend for Racket.
-
Unix and OSX
sudo ln -s /usr/local/waxeye/src/racket/waxeye /usr/local/racket/lib/racket/collects/ -
Windows
Copy the directory
src/racket/waxeyeinto your Racketcollectsdirectory. For example,C:\Program Files\Racket\collects.
-
-
Build Waxeye
-
Unix and OSX
./build/unix -
Windows
-
If your Racket installation isn't
C:\Program Files\Racket, then you will need to modifybuild\exe.batto use the correct path. -
From your Waxeye installation directory, run the
build\exe.batscript in a command prompt.
-
-