mirror of
https://github.com/gcao/gene-new
synced 2026-01-14 12:01:37 +00:00
No description
| .github/workflows | ||
| .vscode | ||
| bin | ||
| example-projects | ||
| examples | ||
| src | ||
| tests | ||
| .gitignore | ||
| config.nims | ||
| gene.nimble | ||
| LICENSE | ||
| nim.cfg | ||
| package.gene | ||
| README.md | ||
| Vagrantfile | ||
| VERSION | ||
Gene - a general purpose language (written in Nim)
Features
- FP (Functional Programming)
- OOP (Object Oriented Programming)
- AOP (Aspect Oriented Programming) - WIP
- Macros
- Pattern matching
- Homoiconic (like Lisp)
Notes
- Build
nimble build
- Run interactive Gene interpreter (after building the executable)
bin/gene
- Run all examples
bin/run_examples
- Run all tests
nimble test
- Run specific test file
nim c -r tests/test_parser.nim
- Watch changes and build bin/gene and run tests
while 1; do fswatch -v -r src tests/*.nim Cargo.toml | nim c --out:bin/gene src/gene.nim && nimble test; sleep 0.2; done
Credit
The parser and basic data types are built on top of EDN Parser that is created by Roland Sadowski.