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

Refactor S-Exp protocols to depend on fewer Idris modules #3060

Merged
merged 6 commits into from
Aug 31, 2023

Conversation

ohad
Copy link
Collaborator

@ohad ohad commented Aug 28, 2023

Description

Remove dependency on a lot of the compiler source-code.

This means specialising some of the S-Expr parser from the general Idris2 source-code parsing code to a separate copy for the S-Expr parser.

It's difficult to share source-code between the two parsers because the S-exp parser doesn't need the full token structure an Idris2 source-code requires.

Should this change go in the CHANGELOG?

  • [X ] If this is a fix, user-facing change, a compiler change, or a new paper
    implementation, I have updated CHANGELOG.md (and potentially also
    CONTRIBUTORS.md).

Ohad Kammar added 3 commits August 28, 2023 15:19
Remove dependency on a lot of the compiler source-code.

This means specialising some of the S-Expr parser from the general
Idris2 source-code parsing code to a separate copy for the S-Expr parser.

It's difficult to share source-code between the two parsers because
the S-exp parser doesn't need the full token structure an Idris2
source-code requires.
idris2protocols.ipkg Outdated Show resolved Hide resolved
@gallais gallais added event: IDM 2023/08 Issue tackled during the August 2023 Idris Developers Meeting code: refactoring labels Aug 29, 2023
@gallais gallais merged commit d3dc9b7 into idris-lang:main Aug 31, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code: refactoring event: IDM 2023/08 Issue tackled during the August 2023 Idris Developers Meeting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants