No description
Find a file
2025-11-07 12:14:33 -03:00
iron update README 2025-11-07 12:14:33 -03:00
.gitignore initial commit 2025-10-31 21:57:06 -03:00
.ocamlformat initial commit 2025-10-31 21:57:06 -03:00
dune-project iron: rewrite parser using ocamllex and menhir 2025-11-05 15:06:49 -03:00
LICENSE initial commit 2025-10-31 21:57:06 -03:00
mini.ml initial commit 2025-10-31 21:57:06 -03:00
README.md update README 2025-11-07 12:14:33 -03:00

Gris

These are some statically typed concatenative experiments.

Iron is the current (public) interpreter draft. Executing the interpreter can be done like so:

$ dune exec -- ./iron/main.exe < ./iron/examples/addmul.iron
User definitions:
  ! : [Int] -> []
  println : [Str] -> []
  addmul : [Int Int Int] -> [Int]
  scream : [Str] -> [Str]
9!

There's no row polymorphism in the type system yet, so inferring the types of block literals (quotations) doesn't work yet (as of now it simply throws an exception.)