-
Notifications
You must be signed in to change notification settings - Fork 126
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
switch to a better Julia to GAP conversion #4086
Conversation
6fb0353
to
8378833
Compare
@ThomasBreuer this has conflicts now? |
- install `GapObj` and `GAP.julia_to_gap` methods via `GAP.@install` - change the `GAP.julia_to_gap` calls to `GapObj` calls - move some conversion methods from Oscar.jl to GAP.jl
3e037fe
to
f9e4450
Compare
With the new Hecke release available, CI seems to be happy now |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4086 +/- ##
==========================================
- Coverage 84.69% 84.69% -0.01%
==========================================
Files 627 627
Lines 84301 84287 -14
==========================================
- Hits 71398 71385 -13
+ Misses 12903 12902 -1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. It would be good if GAP.jl still provided julia_to_gap
as fallback for existing code. I.e. we don't want people to install methods it, but code that just calls it should keep working. So something like julia_to_gap(x) = GapObj
in GAP.jl might work (perhaps recursive
also needs to be passed on)
* next iteration - install `GapObj` and `GAP.julia_to_gap` methods via `GAP.@install` - change the `GAP.julia_to_gap` calls to `GapObj` calls - move some conversion methods from Oscar.jl to GAP.jl * do not call `GapObj(Union{}[])` * require GAP.jl 0.12
The changes rely on those in GAP.jl from oscar-system/GAP.jl/pull/1029, see the introductory comment there for the ideas.
The details are as follows.
GapObj
andGAP.julia_to_gap
methods to calls ofGAP.@install GapObj
GAP.julia_to_gap
calls toGapObj
callsSet{T}
andJSON3.Array
to GAP.jlAs soon as Oscar.jl includes GAP.jl containing the code from oscar-system/GAP.jl/pull/1029, the current changes (or something better) must be added to Oscar.jl.