There are also a few new smaller features:
- Sequence initializers ("array[int] a = [1, 2, 3]" or "array[int]![1, 2, 3]")
- Improved string interpolation (added calls to enter() and leave() methods at the beginning and ending of each expression, allowing us to do things like "String s = FStr() `this is $var`;")
- Byte and integer string constants ("b'A' == 65", "i'\001\0' == 256")
- A no-op @encoding annotation allowing scripts to identify their encoding for other tools.
No comments:
Post a Comment