Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repl 2.0 #33

Open
JonasDuregard opened this issue Apr 12, 2016 · 1 comment
Open

Repl 2.0 #33

JonasDuregard opened this issue Apr 12, 2016 · 1 comment

Comments

@JonasDuregard
Copy link

I expect the following from your read eval print loop.

  • It should load all data type definitions in the file and
    • build a start environment containing all constructors.
    • build a start type environment containing all constructors
  • type check the file (and build an updated type environment with all top level functions)
  • build a new environment containing all top level functions (it does this already)
  • Input expressions, type check and evaluate them (it does part of this)
  • Have a flashier name than Repl. Maybe loli (for "lolipop interpreter")?
  • Not crash as often as it does (catch exceptions!)
@m0ar
Copy link
Owner

m0ar commented Apr 13, 2016

  • Repl now catches errors and behaves nicely instead of going Michael Douglas and flipping out
  • Repl is now loli, thanks for the suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants