Skip to content

Pass mod to Base.parse_input_line to support syntax versioning#1016

Merged
topolarity merged 1 commit into
timholy:masterfrom
topolarity:ct/syntax-version
Apr 1, 2026
Merged

Pass mod to Base.parse_input_line to support syntax versioning#1016
topolarity merged 1 commit into
timholy:masterfrom
topolarity:ct/syntax-version

Conversation

@topolarity

Copy link
Copy Markdown
Collaborator

Relies on JuliaDebug/JuliaInterpreter.jl#711 or else this may trigger more errors.

Locally this seems to be the only missing piece for syntax versioning support (JuliaLang/julia#60018).

Co-authored-by: Claude noreply@anthropic.com

Comment thread src/parsing.jl Outdated
Keno pushed a commit to JuliaLang/julia that referenced this pull request Mar 4, 2026
This allows tools like Revise to re-parse Base source files using the
correct syntax version.

This (+ timholy/Revise.jl#1016 /
JuliaDebug/JuliaInterpreter.jl#711) is enough
for `Revise.track(Base)` to work for me to revise local changes to
`base/loading.jl`, etc.

Co-authored-by: Claude \<noreply@anthropic.com\>
@Keno

Keno commented Mar 13, 2026

Copy link
Copy Markdown
Collaborator

Do you want to rebase this to see if CI is better now?

@topolarity

Copy link
Copy Markdown
Collaborator Author

Do you want to rebase this to see if CI is better now?

I think the JuliaInterpreter changes need to land first

@topolarity
topolarity force-pushed the ct/syntax-version branch 2 times, most recently from 8c07a2b to 14ad957 Compare March 18, 2026 00:49
@topolarity

Copy link
Copy Markdown
Collaborator Author

CI looks much cleaner, although it still has some things to clear up.

Co-authored-by: Claude <noreply@anthropic.com>
@topolarity

Copy link
Copy Markdown
Collaborator Author

I had missed JuliaDebug/JuliaInterpreter.jl#712, but with that fix Revise failures match master.

@topolarity

Copy link
Copy Markdown
Collaborator Author

@Keno If you can give me rights I can merge, or else feel free to merge yourself.

@timholy

timholy commented Mar 31, 2026

Copy link
Copy Markdown
Owner

Invite sent @topolarity. I'll let you use your new superpowers 😉

@topolarity
topolarity merged commit 387497e into timholy:master Apr 1, 2026
9 of 13 checks passed
@topolarity

Copy link
Copy Markdown
Collaborator Author

Thanks @timholy !

mkitti pushed a commit to mkitti/julia that referenced this pull request May 22, 2026
This allows tools like Revise to re-parse Base source files using the
correct syntax version.

This (+ timholy/Revise.jl#1016 /
JuliaDebug/JuliaInterpreter.jl#711) is enough
for `Revise.track(Base)` to work for me to revise local changes to
`base/loading.jl`, etc.

Co-authored-by: Claude \<noreply@anthropic.com\>
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.

3 participants