Commit Graph

4 Commits (master)

Author SHA1 Message Date
James T. Martin e49be205f2
Remove `letrec` in favor of allowing any `let` expression to be recursive. 2021-03-29 22:53:01 -07:00
James T. Martin b337ecb094
Add arguments to the Ivo interpreter (and shebang support).
The supported options are `-h`, `-V`, `-t`, `-T`, and `-c`.
Additional arguments are files to be loaded.

In the process, these additional changes have been made:

* `:check` has been replaced with `:printTypes`;
  disabling typechecking is no longer possible.

* Ivo programs no longer allow top-level expressions;
  a `main` definition must be used instead.

* Traces and type information are now printed to `STDERR`.

* The interpreter code underwent /some/ cleanup,
  but more is still needed.
2021-03-26 22:58:45 -07:00
James T. Martin 280096ccb6
Add monomorphic type annotations. 2021-03-26 14:55:23 -07:00
James T. Martin 960297e3b5
Name the language Ivo. 2021-03-26 12:31:55 -07:00