Decision Log
String Literals
Context: ZGL is a data interchange language (also known as a data exchange language). Although it lacks string processing functions (by design), ZGL aims to make it easy to include strings in various styles, ranging from short strings to large blocks of text.
Decision:
The ZGL grammar uses a custom string literal syntax.
As you can see on the strings documentation page, ZGL provides six options that can be mixed and matched using flags (e.g. -ecltaz
). Learning 6 options is easier than 2 ^ 6 = 64.
Consequences: This requires changes to the ANTLR parser, syntax highlighters, and documentation.
Status: Accepted on 2021-03-10. Updated on 2021-03-12.