dhconnelly/ungulate
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# ungulate a tiny scheme-like interpreter written in ocaml as an exercise ## how to build and run: ocamlopt main.ml ./a.out <path> some test programs are provided in the examples/ directory. ## features ` `if` expressions that evaluate to the value of the chosen branch - `seq` expressions that evaluate all their subexpressions and return the value of the final one, or Nil if empty - `define` statements for local bindings. these evaluate to nil and always introduce a new scope, i.e. they don't modify previously captured environments - `lambda` expressions that close over their environment - named `lambda`s to support recursion - integers and booleans ## status done ## about written by Daniel Connelly (dhconnelly@gmail.com) and released under the MIT license (see LICENSE file)
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published