Skip to content

Allow for proposed new parsing of array[end]#7

Merged
wdebeaum merged 1 commit into
wdebeaum:masterfrom
mlechu:fix-end-parsing
Mar 17, 2025
Merged

Allow for proposed new parsing of array[end]#7
wdebeaum merged 1 commit into
wdebeaum:masterfrom
mlechu:fix-end-parsing

Conversation

@mlechu

@mlechu mlechu commented Mar 17, 2025

Copy link
Copy Markdown
Contributor

To fix JuliaLang/julia#57269, a small-but-breaking julia AST change is needed (PR + discussion JuliaLang/julia#57368).

PEG.jl is currently incompatible with the new parsing, which causes a handful of packages to fail while evaluating the parsing change. This PR makes PEG.jl work with the new parsing, and shouldn't change its compatibility with any existing version of julia.

Note that the parsing change isn't merged yet, but it's planned to be. If the change is cancelled, I'll come back and remove the code I've added here.

@wdebeaum
wdebeaum merged commit 6bf1b2b into wdebeaum:master Mar 17, 2025
@mlechu

mlechu commented Mar 19, 2025

Copy link
Copy Markdown
Contributor Author

Thanks @wdebeaum! Whenever you have time, could you put this change into a release? This would make it easier for me to check that packages depending on PEG work OK with the parsing change.

@wdebeaum

Copy link
Copy Markdown
Owner

I was going to wait until JuliaLang/julia#57368 got merged, but OK, if it helps you out: v1.0.3

@topolarity

Copy link
Copy Markdown

@wdebeaum Did you mean to register that release?

wdebeaum added a commit that referenced this pull request Mar 29, 2025
...so that Registrator can see it (oops). v1.0.3 was done via git tag
and github release first, which is the wrong order. Skipping that
version here to avoid having to move the git tag etc.

See issue #7.
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.

arr[var"end"] is the same as arr[end]

3 participants