jamiebuilds / ghost-lang

:ghost: A friendly little language for you and me.
302 stars 10 forks source link

interpolated strings could be confusing #15

Closed zackschuster closed 5 years ago

zackschuster commented 5 years ago

at first glance, i didn't see the difference between string delimiters. i can easily see a novice being tripped up by that.

is there a particular reason that those delimiters need to be used (e.g. avoiding ambiguous grammar)? i'm curious if the syntax could be collapsed, or if something like c#'s "single-quote for char, double-quote for string" syntax would be more beneficial.

love the idea/motivation for the language. definitely interested in seeing it progress!

jamiebuilds commented 5 years ago

You likely didn't notice them because of the lack of syntax highlighting, other languages behave like this and it works well