Natively support import of gambit modules #658

Open
opened 2022-01-08 11:43:10 +00:00 by vyzo · 0 comments
vyzo commented 2022-01-08 11:43:10 +00:00 (Migrated from github.com)

With gambit v4.8.4 come modules at the gambit layer.
Currently, in order to import a gambit module you need to manually define an .sxi wrapper that lists all the imports and handles the primitive module loading.

We should provide an import form (e.g. (import (gambit: (some gambit module)))) that automatically handles the scaffolding and symbols and has compiler support for the correct primitive import form.

Longer term we would like our modules to become primitive gambit modules that can be imported by gambit code, but this is further down the road.

With gambit v4.8.4 come modules at the gambit layer. Currently, in order to import a gambit module you need to manually define an .sxi wrapper that lists all the imports and handles the primitive module loading. We should provide an import form (e.g. `(import (gambit: (some gambit module)))`) that automatically handles the scaffolding and symbols and has compiler support for the correct primitive import form. Longer term we would like our modules to become primitive gambit modules that can be imported by gambit code, but this is further down the road.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mighty-gerbils/gerbil#658
No description provided.