No description
Find a file
2023-12-01 15:23:12 -05:00
.github/workflows Update nim version in github action 2021-09-25 10:28:53 -04:00
.vscode Issue 74: parse indented gene 2023-07-11 18:50:23 -04:00
bin Fix long poll time 2023-06-01 09:22:28 -04:00
example-projects Pass Frame to all function and methods 2023-04-28 18:33:50 -04:00
examples Issue 74: parse indented gene 2023-08-11 08:22:55 -04:00
src Fix path issue 2023-12-01 15:23:12 -05:00
tests Issue 74: parse indented gene 2023-08-11 08:22:55 -04:00
.gitignore Issue 74: parse indented gene 2023-08-10 20:51:07 -04:00
config.nims Issue 74: event based parsing 2023-06-08 15:29:15 -04:00
gene.nimble Fix a strange issue in the parser. See the error while running http_websocket.gene in last commit 2023-06-06 11:17:21 -04:00
LICENSE Initial commit of rewrite Gene.nim 2021-02-05 23:49:28 -05:00
nim.cfg Initial commit of rewrite Gene.nim 2021-02-05 23:49:28 -05:00
package.gene Package Management 2021-12-07 19:17:57 -05:00
README.md Initial commit of rewrite Gene.nim 2021-02-05 23:49:28 -05:00
Vagrantfile Vagrant synch folder changes 2021-12-03 09:10:18 -05:00
VERSION Misc changes 2021-11-05 17:03:29 -04:00

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.