https://github.com/nixinova/nouva
The Nouva programming language.
https://github.com/nixinova/nouva
grammar language lark nixinova parser programming-language
Last synced: 8 months ago
JSON representation
The Nouva programming language.
- Host: GitHub
- URL: https://github.com/nixinova/nouva
- Owner: Nixinova
- License: isc
- Created: 2024-07-25T13:53:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-19T14:28:02.000Z (almost 2 years ago)
- Last Synced: 2024-12-26T07:42:05.619Z (over 1 year ago)
- Topics: grammar, language, lark, nixinova, parser, programming-language
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Nouva
The **Nouva** programming language.
Explore the syntax of Nouva in **[syntax.md](syntax.md)**.
This language uses a Lark grammar: **[grammar.lark](src/grammar.lark)**.
Use a Lark compiler such as [lark-parser.org](https://www.lark-parser.org/ide/) to preview the Nouva grammar.
Parse Nouva code using **[parser.py](src/parser.py)**.
Try it from the CLI: `bin/parse "var x = true;"`.
Transpile Nouva code to JavaScript using **[transpiler.py](src/transpiler.py)**.
Try it from the CLI: `bin/transpile "var x = true;"`.
Basic compilation is also available, which does the above transpilation but with error reporting.
Try it from the CLI: `bin/compile "var x = true;"`.