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
dsl for real numbers #85
Comments
I plan on adding that in the future. What I'm doing right now as a workaround is to manually parse |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm reopening this as I do want to add it properly. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Relevant resources for float parsing: |
Are you planning to parse those as valid? I think I managed to parse those at one point, but it was 2 additional rules, so it was not very efficient. I don't know what ISO or other standard say about this, but to me it seems that something like |
The interface I'm imagining is similar to the split between I'm envisioning a So you can completely define what's considered to be valid. |
I am new to the library so I apologize if I am missing something.
Exploring the examples I can't find anything similar to
dsl::integer
for real numbers.O course I understand that parsing real numbers is complicated having a lot of different representations, but I would need something simple such as 5.67 to start with.
My application is an AST similar to the calculator example.
The text was updated successfully, but these errors were encountered: