-
Notifications
You must be signed in to change notification settings - Fork 66
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
pure
and @safe
grammars/rules?
#303
Comments
Hi Héctor, I don't see a problem there either. @cbleser has done a lot of Even though it should be fairly straightforward, I am not sure when I would be able to add this myself. Feel free to have a go at it, I'll be happy to answer any questions regarding building Pegged. Beware that a number of files are generated, so make your edits at the right spot :-) Cheers, |
Hi Bastiaan, apologies for taking so long to reply. I'm currently working against the clock to meet some deadlines, so I will have to make due by calling unsafe-impure functions in I would naïvely think the Regards, |
I would naïvely think so too :-) Reuse from #302 where practical, and be sure to not change files that are generated (change the generator). |
Hi,
First of all thanks for the great library and for the good work that is still put into maintaining it. I would like to request an improvement, if possible.
Is there any chance grammar and rule functions can be made
pure @safe
? Conceptually I do not see any reason why they should not be, but there may be internal limitations I am not aware of.Thanks in advance,
Héctor
The text was updated successfully, but these errors were encountered: