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

Revise ImportJuliaModuleIntoGAP #56

Closed
fingolfin opened this issue Oct 9, 2018 · 1 comment
Closed

Revise ImportJuliaModuleIntoGAP #56

fingolfin opened this issue Oct 9, 2018 · 1 comment

Comments

@fingolfin
Copy link
Member

@sebasguts came up with the following plan: the global variable Julia will point to a custom GAP object, for which methods for \. and IsBound. (and possibly RecNames) are installed. When accessing Julia.foobar, it queries if Main.foobar exists; if not, it errors out, otherwise that object is returned.

On the next level, Julia module objects (i.e., jl_module_t) are wrapped into custom GAP objects (similar or even identical to the Julia object). Then for these the \. method of course performs the lookup relative to the jl_module_t (in the Julia object, this would then be jl_main_module).

@sebasguts
Copy link
Contributor

This is resolved by #62

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

2 participants