the noodle programming language https://github.com/jessopher/noodle
|Latest on Hackage:||0.0.19|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
noodle Programming Language Interpreter
Noodle is two things. It is a programming language, and it is this implementation of that programming language.
Noodle (the language) is functional, latently typed, and statically scoped.
Noodle has no language level concept of mutable state.
Data abstraction is handled with 'scope bound' wrappers that prevent pattern matching on some value outside
of some mutually recursive scope.
Numbers are arbitrary precision integer ratios.
Operators are (possibly) high order functions with special application rules that omit evaluation of the
right operand if their application to the left operand does not return a function.
Modules are mutually recursive internally, are first class, and can be parameterized by constructing them with functions.
Rather than arrays or linked lists, the most basic compound data structure in noodle is a binary tree, or
the primary points of interest in this package are:
- the option directed command line interface
- the read-eval-print-loop
- an interface for evaluating a single noodle expression (computation) from stdin
You may also incorporate noodle into your own program as a library, but this is even less documented than the completely undocumented command line interface... so I don't know why you would want to do this.