Hi,
Not a real issue, but... a suggestion for documentation precision.. or language extension
As a former C++ developer I tried a C++ implementation from scratch, just with doc an examples. Excellent practice !!!
In the doc, when you introduce Value and ID, you do not specify that they are INTs. So in my implem, .-@"This dot ID is a string and dot has value "-#2-$@$#-& is valid
More: you can also define '+' operator, in C++, both with ints ans strings.
More: one could use floats in values as well ? .-#2.3 ?
Another syntax suggestion: reading @ or # as "adressing modes", @$ or $# should be valid sequences, much easier to parse and insure consistency since @{+} for example switches from "Value mode adressing" to "ID mode adressing".
Great language !
Hi,
Not a real issue, but... a suggestion for documentation precision.. or language extension
As a former C++ developer I tried a C++ implementation from scratch, just with doc an examples. Excellent practice !!!
In the doc, when you introduce Value and ID, you do not specify that they are INTs. So in my implem, .-@"This dot ID is a string and dot has value "-#2-$@$#-& is valid
More: you can also define '+' operator, in C++, both with ints ans strings.
More: one could use floats in values as well ? .-#2.3 ?
Another syntax suggestion: reading @ or # as "adressing modes", @$ or $# should be valid sequences, much easier to parse and insure consistency since @{+} for example switches from "Value mode adressing" to "ID mode adressing".
Great language !