-
Notifications
You must be signed in to change notification settings - Fork 45
update to JuliaSyntax 1.0 #661
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
update to JuliaSyntax 1.0 #661
Conversation
|
Sorry, my previous post was nonsense, what I should have said (I think?) is that this only update the JuliaSyntax compat in |
|
good catch, fixed. |
|
Thanks. src/CthulhuBase.jl |
|
(Luckily it seems one can just remove |
|
if you want, I have no objection to you pushing to this PR directly if you have possible fixes. |
|
Next error I see is one during precompilation of Cthulhu. (This is with Julia 1.12.0-rc2 BTW). Actually also Revise 3.9.0 complains but that is hopefully unrelated: But it actually somehow gets past that (?) and then running |
|
Thanks, but I don't think I have permissions to push here? Anyway, the |
JuliaSyntax now emits `op=` nodes, with functions as `Identifier` nodes, which are no longer detectable with `is_operator` for e.g. `+` in `a += b`
1ec0a98 to
e80cd35
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #661 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 9 12 +3
Lines 1556 1600 +44
======================================
- Misses 1556 1600 +44 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
799a461 to
fd2f69e
Compare
fd2f69e to
5985681
Compare
|
All tests now pass and AFAIK the behavior remains unchanged compared to JuliaSyntax v0.4. @aviatesk @oscardssmith @fingolfin, feel free to review the changes. In any case, I think it's in a mergeable state and I plan to merge in the coming days then release a new version for Cthulhu and TypedSyntax so we can stop requiring an outdated JuliaSyntax version. |
|
Thanks for finishing this up! |
|
Looks like the SnoopCompile issue is real. We possibly should have a patch there... |
|
Yes, for some reason the dependencies are way off (JET stuck at 0.9.X), I'll have a look. |
|
The issue is that SnoopCompile yet has to support JET v0.10 and at the same time JET v0.9 fails to load on 1.12.0-rc2. |
|
Thank you sooooo much for completing this work!!! |
#637 but with updated tests to reflect the changes in parsing of JuliaSyntax1.0 and without the AI slop of
#637#659. @aviatesk I've looked at the parse trees, and the changes look correct, but it would be good to get a review from someone who understands this better.The good news is I've talked to Em, and it sounds like
TypedSyntaxshould be replaceable by JuliaLowering in the relatively short term, which will be a massive de-jankification.