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

TODO #1

Open
1 of 7 tasks
kritixilithos opened this issue Feb 11, 2017 · 2 comments
Open
1 of 7 tasks

TODO #1

kritixilithos opened this issue Feb 11, 2017 · 2 comments
Labels

Comments

@kritixilithos
Copy link
Owner

kritixilithos commented Feb 11, 2017

Bugs

Language/Interpreter Features

(in no particular order)

  • % modulo operator
  • variable precision numbers (like in python)
  • math builtins (pi, e, complex numbers and the lot)
  • registers (like vim)
  • _ for negative sign for numbers
  • add tests

Site

  • update the Carrot website with the new interpreter
@kritixilithos
Copy link
Owner Author

kritixilithos commented May 13, 2017

Suggestion: redo the interpreter

Separate the functions of the lexer, parser and the interpreter. Using ASTs will allow nested expressions and can make Carrot Turing Complete. Until then, this list will freeze. As of now, I'm thinking about creating an interpreter in node as well.

Edit:

[status:completed]

@somebody1234
Copy link

For arbitrary precision, you can use any of the various libraries. (I've used this one before)

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

No branches or pull requests

2 participants