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

Mlc #247

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft

Mlc #247

wants to merge 25 commits into from

Conversation

jasone
Copy link
Contributor

@jasone jasone commented Sep 16, 2024

No description provided.

@jasone jasone self-assigned this Sep 16, 2024
This implemention is ostensibly complete, with the exception of missing
OCaml-specific functionality in `Hmc.Scan`.
Jason Evans added 8 commits September 16, 2024 20:19
This is OCaml-specific syntax.
The Hemlock scanner now directly supports long integer syntax, which made this
code dead.
This is OCaml-specific syntax.
Fix raw string tag scanning to retry rather than advancing, so that replacement
codepoints are checked for validity.

Add tests for valid replacement codepoints. Invalid replacement codepoints are
troublesome to embed in tests, and remain untested.
This is OCaml-specific syntax. Omit support for tags, e.g. `{tag|...|tag}`,
since doing so would substantially complicate scanning, and no extant code uses
tags.
Replace the `Binding` nonterm with `Uident` and use it in place of `UIDENT`
everywhere possible.
Aliases are commonly punctuation, e.g. ";", which can make diagnostic output
confusing if the quotes are omitted.
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

Successfully merging this pull request may close these issues.

1 participant