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

use different command for different racket dialect #456

Open
glyh opened this issue Jan 16, 2023 · 1 comment
Open

use different command for different racket dialect #456

glyh opened this issue Jan 16, 2023 · 1 comment
Labels
client-racket enhancement New feature or request

Comments

@glyh
Copy link

glyh commented Jan 16, 2023

For example, if we have lang tag #lang r5rs, the command for calling racket REPL should include be racket -I r5rs

@Olical Olical added enhancement New feature or request client-racket labels Jan 22, 2023
@russtoku
Copy link
Contributor

I'm wondering if @glyh is requesting that the racket client honor the lang tag by automatically changing the command to racket -I <lang> from the default of racket. This would be based on the #lang <lang> line in the file to be edited.

My observation is that the default command set in the global variable, g:conjure#client#racket#stdio#command, works with a file that has a lang tag like #lang sicp. But only the first time that the file is loaded. The same racket REPL is used for other files after that which might not apply.

So, it would also be helpful if multiple REPLs could be enabled for each of the lang tags found in files being edited. I'm assuming only one lang tag would appear in a file. I think that the general guidance is to always have a lang tag line at the top of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client-racket enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants