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

Regex for currency causes lexer to fail to match slash as a token #4

Closed
tesujimath opened this issue Feb 5, 2024 · 0 comments
Closed

Comments

@tesujimath
Copy link
Owner

Because of the way Logos currently works, text such as 1/1.45 fails to lex as NUMBER, SLASH, NUMBER, which would enable it to be parsed as an expression. Instead it tries for NUMBER, CURRENCY, and fails with a Lexer error.

This is an open issue with Logos maciejhirsz/logos#315

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

1 participant