-
Notifications
You must be signed in to change notification settings - Fork 30
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
Alternative to Internals.encode #133
Labels
Comments
This could be useful also in other places. Like the json parser, e.g. https://github.com/nojb/tinyjson/blob/master/lib/json.mll On a separate note, I think markup.ml has the most comprehensive dictionary of entities for encode and decode: https://github.com/aantron/markup.ml/blob/master/src/entities.ml |
This is nice example for the power of OCamlLex and how to effectively use the different states (or sub-scanners). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is just an idea: the implementation of escape rules for Xml (or other transports) could be also delegated to an efficient regexp engine specified by OCamlLex:
The text was updated successfully, but these errors were encountered: