Ratstail91
10dbe8f8f1
Fixed casting + grouping, resolved #67
2023-07-31 16:20:45 +10:00
Kayne Ruse
0e41b00ef4
Fixed a post-fix increment issue, highlighted in the game engine
2023-06-20 13:54:21 +10:00
Kayne Ruse
f6ec6a8c73
The any type is now recognized as a type properly
2023-06-19 23:16:46 +10:00
Kayne Ruse
cdb2613e5d
Disallowed fn decl in for loop pre clause
2023-06-07 19:20:50 +10:00
Kayne Ruse
17f0e4476b
Caught a bug that the test cases failed to find
2023-03-17 21:58:13 +11:00
Kayne Ruse
1095e1a885
Added type casting a grouping bugfix, resolved #76
2023-03-17 20:57:47 +11:00
Kayne Ruse
68ed52b347
Tweaked precedence of binary expressions
2023-03-11 17:47:43 +11:00
Kayne Ruse
f84cdff883
Fixed order of operations
2023-03-07 06:49:17 +11:00
Kayne Ruse
c5c0122243
BUGFIX: typeof keyword precedence was off
2023-02-27 21:47:38 +11:00
Kayne Ruse
3507104121
Fixed indexAccess potentially going awry with bad inputs
...
There's always one or two that slip through
2023-02-20 05:28:25 +00:00
Kayne Ruse
1668dca255
Tweaked some APIs, hid some functions I don't want in the API
2023-02-16 13:06:07 +00:00
Kayne Ruse
1ed114b80d
Allow for stmt to have empty clauses, resolved #58
2023-02-13 14:45:24 +00:00
Kayne Ruse
aeb008c684
Fixed unary negation bug, removed newline from print
2023-02-10 18:38:25 +00:00
Kayne Ruse
a26a6a56d0
Patched a pre/postfix increment/decrement segfault
2023-02-10 11:49:59 +00:00
Kayne Ruse
ee226ea426
Strengthened constness for cstrings and bytecode
2023-02-10 08:52:38 +00:00
Kayne Ruse
e946a5f071
Patched segault in parser
2023-02-09 12:37:18 +00:00
Kayne Ruse
0b9051cab2
Experimenting with numbers
2023-02-06 05:37:41 +00:00
Kayne Ruse
41d274177a
String concatenation restricted to + and += signs
2023-02-05 15:15:32 +00:00
Kayne Ruse
8d278077b1
Added constant folding for strings, tweaked some error messages
2023-02-04 09:50:29 +00:00
Kayne Ruse
90f91a234a
r is a bad character to escape
2023-01-31 12:38:42 +00:00
Kayne Ruse
fcd1cdf70b
Added a few characters that can be escaped
2023-01-31 12:37:18 +00:00
Kayne Ruse
9b21bfb53b
Missed a rename
2023-01-25 13:54:28 +00:00
Kayne Ruse
d3adac8a59
Fixed the parser - whoops
2023-01-25 13:17:57 +00:00
Kayne Ruse
5183037a99
Missed the globals
2023-01-25 13:15:16 +00:00
Kayne Ruse
2e2bee4fa3
Renemed all variables to fit into a namespace
...
Basically, all Toy varaibles, functions, etc. are prepended with "Toy_",
and macros are prepended with "TOY_". This is to reduce namespace
pollution, which was an issue pointed out to be - blame @GyroVorbis.
I've also bumped the minor version number - theoretically I should bump
the major number, but I'm not quite ready for 1.0 yet.
2023-01-25 12:55:55 +00:00
Kayne Ruse
047ccc5f16
Prepended file names with "toy_"
2023-01-23 21:45:52 +00:00