waxeye-org/waxeye
소개
Waxeye is a parser generator based on parsing expression grammars (PEGs). It supports C, Java, JavaScript, Python, Racket, and Ruby.
개발 도구What you can do
- Scanner-less Parsing
- Automatic AST Generation
- Language Independent, Reusable Grammars
- Modular, Composable Grammars
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalWaxeye Parser Generator 
Waxeye is a parser generator based on parsing expression grammars (PEGs). It supports C, Java, Javascript, Python, Ruby and Scheme.
Features
Choice of Programming Language
- C
- Java
- Javascript
- Python
- Ruby
- Racket
Scanner-less Parsing
Automatic AST Generation
Language Independent, Reusable Grammars
Modular, Composable Grammars
Grammar Testing
User Manual
Waxeye's user manual is in docs/manual.html. The latest version is also
online at http://waxeye.org/manual.html.
Installation
Unix and OSX
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/
Windows
Extract the files of the distribution.
Copy the
waxeyedirectory to where you wish to install it.
Running
Unix and OSX
Use the waxeye command.
Windows
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.
Building from Source
Install Racket
Build Waxeye
Unix and OSX
make compilerWindows
If your Racket installation isn't
C:\Program Files\Racket, then you will need to modifybuild\exe.batto use the correct path.Run the
build\exe.batscript. Thewaxeye.exeexecutable will be saved to the directory you run the script from.
Running tests
First, install all packages necessary for running the tests. On Ubuntu, run:
sudo apt-get install racket nodejs ant checkstyle testng
To then run all the tests, run:
make test-all
To run individual language tests, make the respective target, e.g. for JavaScript:
make test-javascript
Support
License
MIT -- All files (except the user manual) are under the permissive MIT license.
GNU FDL -- Waxeye's user manual is under the GNU Free Documentation License.
This includes the files doc/book/book and doc/manual.html.
관련 프로젝트 살펴보기
불러오는 중…