- FP (Functional Programming)
- OOP (Object Oriented Programming)
- AOP (Aspect Oriented Programming) - WIP
- Macros
- Pattern matching
- Homoiconic (like Lisp)
- 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
The parser and basic data types are built on top of EDN Parser that is created by Roland Sadowski.