gene
Gene - a general purpose language
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:25 |
Tags
Installation
nimble install gene
choosenim install gene
git clone https://github.com/gcao/gene-new
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| gene | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/gcao/gene-new |
|---|---|
| Homepage | https://github.com/gcao/gene-new |
| Registry Source | nimble_official |
README
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.