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

Enable InterpreterMode in fjåge Shell #245

Open
notthetup opened this issue Jun 7, 2022 · 0 comments
Open

Enable InterpreterMode in fjåge Shell #245

notthetup opened this issue Jun 7, 2022 · 0 comments
Assignees

Comments

@notthetup
Copy link
Collaborator

notthetup commented Jun 7, 2022

Groovy Shell has an InterpreterMode which allows shell variables to be typed. This would make it simpler for copy-pasting Java/Groovy code into the Shell. http://groovy-lang.org/groovysh.html#GroovyShell-InterpreterMode

It would allow code like this to work

> def a = 42;
> println("a is $a");
> 42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants