by randomerr · 8y ago · 0 comments
True (01) / False (00) - I assume that you will not support hexadecimal notation (00)
How will you note when its a textual semicolon from a string separator. IE: "a":";","b":"1" vs. a;;b;1
How do you tell a numeric value from a string character? IE: "a":1;"b":1 vs. a;1;b;1
Nulls what is test or is null: "x":null vs. x;000 < is this a string value, a hex value, or a null?
Hexadecimals work like JSON (4 digits)
key=\uXXXX
Semi colons are used for structure so need to be escaped or quoted:
## quoted example
a=";"
## escaped value
a=\;
## escaped value using escape tilde (better in DNS)
a=~;
The interpreter uses type inference, so this example will always be a number:
a=1
To force it as a string, you can quote it:
a="1"
I wasn't clear on your final question but unquoted 000 always represents null. So:
## this is null
x=000
## this is string 000
x="000"
Hope that answers the questions and thanks again for the feedback. If I've misunderstood or you’re not clear on anything let me know.
(edited to fix line spacing)