You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Art 45ca5e3ef5
update readme
6 months ago
benchmarks add nbody benchmark 6 months ago
bin new test, bugfix 1 year ago
docs more polish to .md files 6 months ago
examples rename funct to proc 1 year ago
src removed old compiler 6 months ago
tests new compiler now passes test suite, after outdated tests were refactored to match new precedence rules 6 months ago
.gitignore add nbody benchmark 6 months ago
CODE_OF_CONDUCT.md code of conduct 6 months ago
LICENSE license change 6 months ago
README.md update readme 6 months ago
nds.nimble new danger option in nimble 6 months ago
nim.cfg revert nim.cfg 6 months ago

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

Contact

  • Matrix (@prod2:envs.net)