Skip to content

gcao/gene.nim

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published