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

Parser: update #983

Merged
merged 56 commits into from
Aug 13, 2021
Merged

Parser: update #983

merged 56 commits into from
Aug 13, 2021

Conversation

Anton-Latukha
Copy link
Collaborator

@Anton-Latukha Anton-Latukha commented Aug 12, 2021

  • Parser:
    • (nixExpr -> nixExprAlgebra).
    • (nixTopLevelForm -> nixExpr).
    • rm symbol from export - they are too core - solving them away inside Parser is crucial, while also too simple symbol x = char x <* whiteSpace that people can look-it up/infer themselves, whiteSpace so far is requires to be exported, until the situation with Windows \r\n gets clearer (when the situation would be properly solved - that export would be superfluous).
    • use of takeWhile{,1}P, which strongly optimizes (magnitudes) the according actions in the parser.
    • module organization.
    • all other refactors.

1 was misleading as it returned normal annotation.

Now 1 is used for a minimal AnnUnit.
Now order in the module is mode logical & catalogued.

It has pretty much the same order of following as the datatype of NExpr it
parses into.
@Anton-Latukha Anton-Latukha marked this pull request as ready for review August 13, 2021 11:20
@Anton-Latukha Anton-Latukha merged commit 31c9e99 into master Aug 13, 2021
@Anton-Latukha Anton-Latukha deleted the 2021-08-12-upd branch August 13, 2021 11: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.

1 participant