Nice that Unicode is supported, and the localization is a nice twist
Are there any examples of what's possible with extensions?
Are there any examples of what's possible with extensions?
if (x > y) {
print "x is greater than y"
}
It's freeform so your application would need to interpret what's between the '(' and ')'.The "punctuator arguments extension" is the one I'm most anxious about since it might be too flexible, but I'd like to hear feedback. It lets you define your own domain-specific punctuators for your configuration so, for example, you might decide that "=" is a punctuator which means the following is equivalent:
x = 123
x=123
Under standard interpretation, if you wanted "=" it be distinct from "x" and "123", then white space would be required.The "comment syntax extension" is just C style comments.
My goal was to keep the language basic while encouraging custom flavors. If an extension becomes ubiquitous, then - depending on what it is - it might merge with the standard or be added to the annex.