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

With standard gerbil new project structure, cannot gerbil interactive hello/main.ss. #1242

Open
vyzo opened this issue Jun 12, 2024 Discussed in #1241 · 0 comments · May be fixed by #1243
Open

With standard gerbil new project structure, cannot gerbil interactive hello/main.ss. #1242

vyzo opened this issue Jun 12, 2024 Discussed in #1241 · 0 comments · May be fixed by #1243
Labels

Comments

@vyzo
Copy link
Collaborator

vyzo commented Jun 12, 2024

Discussed in #1241

Originally posted by metaleap June 12, 2024
Newb question time! With the gerbil new hello-world starter project that does successfully gerbil build — I'm trying to work out an interpreted gerbil run equivalent, but both gerbil interactive hello/main.ss and cd hello && gerbil interactive main.ss error out with:

*** ERROR IN gx#core-resolve-library-relative-module-path -- 
*** ERROR IN "hello/main.ss"@5.9-5.14
--- Syntax Error: Cannot resolve relative module path; not in module context
... form:   ./lib

Does the interpreter not support/grok all that the compiler (or build script) does, out of box? Namely here the import of relative dir path ./lib? (Manually also specifying it via -L arg btw doesn't seem make a difference wrt the above error.)

@vyzo vyzo changed the title With standard gerbil new project structure, how to gerbil interactive hello/main.ss? With standard gerbil new project structure, cannot gerbil interactive hello/main.ss. Jun 12, 2024
@vyzo vyzo linked a pull request Jun 12, 2024 that will close this issue
@vyzo vyzo added the bug label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant