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

Fix issue 1242 #1243

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Fix issue 1242 #1243

wants to merge 2 commits into from

Conversation

vyzo
Copy link
Collaborator

@vyzo vyzo commented Jun 12, 2024

Adds an -r|--run option to gxi so that it can force import and run main for a module, regardless of whether it is a library or interpreted module.

Copy link

netlify bot commented Jun 12, 2024

Deploy Preview for elastic-ritchie-8f47f9 ready!

Name Link
🔨 Latest commit 04211dc
🔍 Latest deploy log https://app.netlify.com/sites/elastic-ritchie-8f47f9/deploys/66697d357410bb0008b630e3
😎 Deploy Preview https://deploy-preview-1243--elastic-ritchie-8f47f9.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@vyzo vyzo requested a review from a team June 12, 2024 10:55
@vyzo
Copy link
Collaborator Author

vyzo commented Jun 12, 2024

Progress:

$ gerbil build
$ gerbil env gxi -r test/main.ss 
*** ERROR -- 
*** ERROR IN ? [Error]: Implement me!

But it is not purely interpreted, so this fails:

$ rm -rf .gerbil
$ gerbil env gxi -r test/main.ss 
*** ERROR IN gx#core-expand-import%__% -- 
*** ERROR IN ?
--- Syntax Error at (expand vyzo/test/main): cannot find library module
... form:   :vyzo/test/lib

@vyzo vyzo marked this pull request as draft June 12, 2024 11:07
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

Successfully merging this pull request may close these issues.

With standard gerbil new project structure, cannot gerbil interactive hello/main.ss.
1 participant