Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ozansz/v-lang-tester
Parser tester for CENG444 Term Project #1 - V Language (by Cem Bozşahin)
https://github.com/ozansz/v-lang-tester
antlr4 compiler parser risc-v
Last synced: 6 days ago
JSON representation
Parser tester for CENG444 Term Project #1 - V Language (by Cem Bozşahin)
- Host: GitHub
- URL: https://github.com/ozansz/v-lang-tester
- Owner: ozansz
- Created: 2019-11-29T19:48:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-30T11:17:48.000Z (almost 5 years ago)
- Last Synced: 2024-10-16T14:21:33.644Z (22 days ago)
- Topics: antlr4, compiler, parser, risc-v
- Language: V
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# V Lang Test Suite
Parser (and code generator maybe :)) tester for CENG444 Term Project #1 - V Language (by Cem Bozşahin).
## Usage
To test your parser's functionality, just run `compile.sh` with your grammar file as an argument.
```bash
git clone https://github.com/ozansz/v-lang-testercd v-lang-tester
chmod +x *.sh
./compile.sh /home/john/ceng444/V.g4
```The script then compiles your grammar and runs tests through 6 sample V programs.
## Extras
The files which name is starting with `ext_` are there to test functionality of custom extensions written by me. These are
* Multi-dimensional vectors
* Inline assemblyIf your grammar gives error in these files, do not care.