typing out quotes for label names, characters, etc. is kind of obnoxious. proposal:
character "fella"
character "somelabel"
-- ->
character :fella
goto :somelabel
inspired by Crystal's Symbol syntax, keywords (words with no spaces) could be prefixed with : to be quickly turned into a string. this would greatly help readability in cases like this to provide an easy, lexical difference between option text strings and label name strings:
"option 1" -> :option1
"option 2" -> :option2
"option 3" -> :option3
also applicable to just about anything that could require shorthand strings, like expressions
character :fellow
expression :happy
typing out quotes for label names, characters, etc. is kind of obnoxious. proposal:
inspired by Crystal's
Symbolsyntax, keywords (words with no spaces) could be prefixed with:to be quickly turned into a string. this would greatly help readability in cases like this to provide an easy, lexical difference between option text strings and label name strings:also applicable to just about anything that could require shorthand strings, like expressions