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: check tail-call optimization in lexer implementation #8

Open
colin-kiegel opened this issue Nov 24, 2015 · 1 comment
Open

TODO: check tail-call optimization in lexer implementation #8

colin-kiegel opened this issue Nov 24, 2015 · 1 comment
Assignees
Labels

Comments

@colin-kiegel
Copy link
Member

https://doc.rust-lang.org/complement-design-faq.html#no-guaranteed-tail-call-optimization
https://mail.mozilla.org/pipermail/rust-dev/2013-April/003557.html

TODO:

  • Check whether tail-calls are optimized?
  • If not, what's the limit, before the lexer has to stop lexing?
@Nercury
Copy link
Member

Nercury commented Nov 27, 2015

I think in worst case we can keep a depth counter of some sorts.

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