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

Add the generalized Pratt parsing example #277

Open
wants to merge 103 commits into
base: hkmc2
Choose a base branch
from

Conversation

chengluyu
Copy link
Member

No description provided.

Copy link
Contributor

@LPTK LPTK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the test outputs are not up to date.

@LPTK LPTK force-pushed the generalized-pratt-parsing branch from b429216 to b770910 Compare February 27, 2025 10:16
Choice.Ref of
"type"
(lhs, compose) => compose(lhs)
None
None
typeInfixRule

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noooooo

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you forget to clean HkScratch?

None
else
console.warn("expect the definition to be a tuple but found " + tree)
None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's wrong with this one? There's no error report in the test case.

None
else
console.warn("expect the definition to be a tuple but found " + tree)
None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
None
None
// ——— ——— ———

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.

2 participants