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

polishing the new Julia to GAP conversion #1055

Open
ThomasBreuer opened this issue Sep 24, 2024 · 0 comments
Open

polishing the new Julia to GAP conversion #1055

ThomasBreuer opened this issue Sep 24, 2024 · 0 comments

Comments

@ThomasBreuer
Copy link
Member

The following ideas arose in the discussion of #1029.

  • Change the definition of recursive conversion: When converting to GAP, simply return a given GapObj. When converting to Julia, simply return a given non-GapObj. The differences to the current behaviour are that Julia subobjects of a GapObj will not get converted anymore, and that less copying happens (the results of the conversions will contain more subobjects that are identical to subobjects of the input). The new concept must be documented.
    We think that this new concept is easier to understand, and that deeply nested objects containing both GAP subobjects and Julia objects are not of practical interest.
  • Shorten the syntax, in particular introduce a macro that simplifies the recursion handling.
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

No branches or pull requests

1 participant