neighbour-hoods / rep_lang

a language for Cultural Articulation
Other
20 stars 4 forks source link
hindley-milner holochain interpreters programming-languages rust

= rep_lang

this repository consists of 3 crates at present:

== building & running with cargo

(more for development purposes)

with https://nixos.org/download.html[`nix`] installed:


$ nix-shell

enter repl

$ cargo run --bin rli < repl appears > < ctrl-d to exit >

interpret code from a file

$ cargo run --bin rle ./rep_lang_concrete_syntax/examples/ex1.rl < output >

== building with nix build

with https://nixos.org/download.html[`nix`] installed:


new nix

$ nix build -f default.nix

old nix

$ nix-build

run it

$ ./result/bin/rli $ ./result/bin/rle $PATH_TO_INPUT < output >

== developers

see DEVELOPING.adoc.