Milestone 2: ~3 days
(and another 4 weeks making things work beyond my one arbitrary test and after further use reminds me that I am an idiot)
Tangent now parses and interprets literals:
// a = "moo." above// print defined in journal entries below{ print "bleat. " 3.14 " " 42 " " 'X' " " a;}
nicely prints
bleat. 3.14 42 X moo.
Though the use of space literals makes that largely horrific looking.
Anyways:
-true/false/null work, though actual bool objects not yet implemented.
-Other literals contain values, but only 'ToString()' implemented for them yet.
-char literals work.
-int literals work so far as int.TryParse does; that is... u/l suffixes fail.
-real literals work so far as decimal.TryParse does; that is... d/m/f suffixes and exponent notation fail.
-string and C#-style verbatim string literals work, though escape sequences are a little buggy at the moment.
I'll probably flesh out some of the basic types (simple operators for int/real/string) and then it's on to local variable declarations.