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

Math sequence fixes #476

Merged
merged 19 commits into from
Apr 11, 2022
Merged

Math sequence fixes #476

merged 19 commits into from
Apr 11, 2022

Conversation

DieMyst
Copy link
Member

@DieMyst DieMyst commented Apr 4, 2022

No description provided.

@DieMyst DieMyst requested a review from alari April 4, 2022 06:49
@DieMyst DieMyst marked this pull request as ready for review April 11, 2022 07:55
def brackets(basic: P[ValueToken[Span.S]]): P[ValueToken[Span.S]] =
basic.between(`(`, `)`).backtrack

val atom: P[ValueToken[S]] = P.oneOf(
Copy link
Member

Choose a reason for hiding this comment

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

What is it? Why it's not private?

Nil
)

// One of entry points for parsing the whole math expression
Copy link
Member

Choose a reason for hiding this comment

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

Comment for _value is the same as for value, but they're different. Are both used as entry points? Why have two?
And things like foo() or "hello" have nothing about math.

@DieMyst DieMyst merged commit e9a686a into main Apr 11, 2022
@DieMyst DieMyst deleted the math-fixes branch April 11, 2022 12:36
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.

None yet

3 participants