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
Handling of exclamation points in Alda REPL #125
Labels
Comments
Aha: it looks like you can turn off this "event-expanding" behavior: jline/jline2#96 |
Side note: try doing |
❓ |
Fix incoming 👍 |
@daveyarwood Meant |
@kirbyfan64 Oh yeah -- interesting. I guess ConsoleReader emulates that behavior from bash, by default. |
daveyarwood
added a commit
to alda-lang/alda-client-java
that referenced
this issue
Feb 4, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just noticed some weird behavior around exclamation points in the REPL:
Apparently the JLine ConsoleReader does something special with
!
, something about expanding an event?Strangely, this bug doesn't seem to apply to things like
(tempo! 200)
(which still work as expected). I'm not sure under what circumstances it tries to "expand" the!
, but maybe it doesn't apply to!
appearing at the end of a word. Just a shot in the dark at a possible explanation.Possible fixes:
!
, maybe just inside of strings and character literals?The text was updated successfully, but these errors were encountered: