Ratstail91
76ddd5703e
Hack: just track the intermediate depth externally
2023-03-05 00:24:07 +11:00
Ratstail91
669808730e
Minor tweak that shouldn't break anything
2023-03-04 22:57:41 +11:00
Ratstail91
e6d9809da5
Famous last words: I think I fixed it
2023-03-04 22:18:17 +11:00
Ratstail91
502032e514
Testing an obscure bugfix
2023-03-04 15:41:55 +11:00
Ratstail91
70ca27486e
Bugfix a leak?
2023-02-28 17:37:43 +11:00
Ratstail91
12fa434e0f
Experimenting with cleaning up loopy code
2023-02-28 17:29:37 +11:00
Kayne Ruse
7f0f17b6e0
Patched up failures from Toy_parseIdentifierToValue
...
I really don't like that function - it needs to be replaced.
2023-02-20 06:11:30 +00: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
8a68d864e6
Opaque type check added
2023-02-18 15:21:49 +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
453afbab41
Fixed a stupid bug in MSVC
2023-02-14 10:24:43 +00:00
Kayne Ruse
0737b2a483
Dropped underscore functions in favour of UFCS
2023-02-14 08:37:31 +00:00
Kayne Ruse
eae96d6403
Corrected the order of arguments to Toy_callLiteralFn()
2023-02-14 08:00:35 +00:00
Kayne Ruse
b55b8e879e
Added -n option to diable print newline
2023-02-13 15:51:38 +00:00
Kayne Ruse
1ed114b80d
Allow for stmt to have empty clauses, resolved #58
2023-02-13 14:45:24 +00:00
Kayne Ruse
5343e1054d
Straightened out file extensions
2023-02-11 14:26:55 +00:00
Kayne Ruse
457014d577
Added MSVC build support, likely broke tests
2023-02-11 00:49:21 +00:00
Kayne Ruse
be4cbf1ad6
Pack 'em up!
2023-02-10 21:53:38 +00:00
Kayne Ruse
aeb008c684
Fixed unary negation bug, removed newline from print
2023-02-10 18:38:25 +00:00
Kayne Ruse
ee226ea426
Strengthened constness for cstrings and bytecode
2023-02-10 08:52:38 +00:00
Kayne Ruse
276648630e
trying to uncluster-bomb the builtin functions
2023-02-09 16:12:42 +00:00
Kayne Ruse
fc67d6a18b
Fixed a segfault
2023-02-09 08:24:16 +00:00
Kayne Ruse
c875ae7a0e
Added _forEach and _map, added tests for them
2023-02-06 00:51:07 +00:00
Kayne Ruse
41d274177a
String concatenation restricted to + and += signs
2023-02-05 15:15:32 +00:00
Kayne Ruse
7ea249f723
Added the about library, resolved #51
2023-02-05 14:43:46 +00:00
Kayne Ruse
386201b6e9
Added fib-memo.toy, fixed bugs until it worked
2023-02-04 17:01:58 +00:00
Kayne Ruse
8d278077b1
Added constant folding for strings, tweaked some error messages
2023-02-04 09:50:29 +00:00
Kayne Ruse
57c16d2ede
Fixed an obscure memory leak, potential issue with lib_runner on linux
2023-02-04 15:30:46 +11:00
Kayne Ruse
ebbcba1b16
Enabled -std=c18 -pedantic, fixed all resulting errors
...
Thanks @gyrovorbis
2023-01-28 08:54:46 +00:00
Kayne Ruse
9b21bfb53b
Missed a rename
2023-01-25 13:54:28 +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