Go to file
prod2 18c71f41fe more polish to .md files 2022-12-03 20:21:18 +01:00
benchmarks readding inline to some stack.nim procs 2022-02-14 10:46:49 +01:00
bin new test, bugfix 2022-02-05 03:24:30 +01:00
docs more polish to .md files 2022-12-03 20:21:18 +01:00
examples rename funct to proc 2022-02-09 06:58:51 +01:00
src removed old compiler 2022-12-03 20:05:59 +01:00
tests new compiler now passes test suite, after outdated tests were refactored to match new precedence rules 2022-12-03 20:04:44 +01:00
.gitignore update gitignore 2022-12-02 12:10:51 +01:00
LICENSE Update LICENSE 2022-01-20 21:23:53 +00:00
README.md more polish to .md files 2022-12-03 20:21:18 +01:00
nds.nimble Revert "BROKEN gc" 2022-02-14 07:15:11 +01:00
nim.cfg new compiler now passes test suite, after outdated tests were refactored to match new precedence rules 2022-12-03 20:04:44 +01:00

README.md

nondescript

Nondescript is a toy programming language. Some of its features are:

  • Dynamic typing, bytecode interpreter
  • Almost everything is an expression
  • New, rewritten 2 pass compiler (parsing, emitting)
  • Syntax tries to balance sugar with consistency

See docs/reference.md to learn more about the language.

If that document is not enough, the following folders in the source tree, will have more examples:

  • benchmarks/
  • examples/
  • tests/

Building

Requirements:

  • nim (1.6.10 tested) and nimble (recommended way to install is choosenim)
  • c compiler (gcc tested)

The 4 steps to a REPL:

git clone https://github.com/prod2/nondescript
cd nondescript
nimble build
bin/nds