Commit Graph

204 Commits

Author SHA1 Message Date
Kayne Ruse c1625c53f4 Patched a bug in deepCopyRefString() 2022-11-26 21:33:46 +00:00
Kayne Ruse f6367fa89d Updated interpreter 2022-11-26 09:43:19 +00:00
Kayne Ruse d199209772 Updated compiler 2022-11-26 06:58:38 +00:00
Kayne Ruse 4cf5c6a5bf Updated parser 2022-11-26 01:59:37 +00:00
Kayne Ruse 30c3a890ee Adjusted how AST Nodes are generated 2022-11-25 12:29:35 +00:00
Kayne Ruse 923cf70c06 Minimal build of the refstrings in the literal structure 2022-11-23 12:52:49 +00:00
Kayne Ruse c7465e1204 Added API macro 2022-11-19 08:33:08 +00:00
Kayne Ruse 4518b59417 Added custom allocator support 2022-11-19 08:18:45 +00:00
Kayne Ruse 0b57f7efe7 Added release build targets, because bored 2022-11-16 22:05:47 +00:00
Kayne Ruse 774f3d9e83 Corrected error messages in the timer lib 2022-11-12 10:07:54 +00:00
Kayne Ruse 30b068fcdb Fixed timer issues, tests should pass
Reduced test duration by a factor of 11,000. Don't ask.

Also, something funny is going on with the time headers, so I
stuck them into source/toy_common.h, I'll figure it out later.
2022-11-12 04:45:35 +11:00
Kayne Ruse 3d8ce4e7d8 Trying to fix time and platforms 2022-11-11 17:31:45 +00:00
Kayne Ruse 4dcc05e796 Corrected fnv1 hash algorithm 2022-11-08 19:36:54 +00:00
Kayne Ruse 8498864dde Resolved a name clash with the engine 2022-11-07 16:38:39 +00:00
Kayne Ruse 5d240f85a6 BUGFIX: chained calls not being dottified 2022-11-04 11:13:40 +01:00
Kayne Ruse cceefa6375 Resolved #38 2022-11-03 16:25:29 +01:00
Kayne Ruse bd348abf32 Added dot chaining for functions
Well, it should work without issues...
2022-10-14 23:58:15 +01:00
Kayne Ruse 5686677383 Added tags to opaque data type 2022-10-03 22:13:56 +01:00
Kayne Ruse bd4ab2aa04 Added the opaque keyword 2022-10-03 21:32:09 +01:00
Kayne Ruse ca24c4f211 Added the opaque data type 2022-10-03 21:02:13 +01:00
Kayne Ruse 5c7e8bba0d Comment Tweak 2022-10-02 16:07:21 +11:00
Kayne Ruse 3460967e3b Added API macro to some functions 2022-10-02 00:44:46 +01:00
Kayne Ruse 467cd8d978 Resolved #26, shared libs work on linux 2022-10-02 04:09:27 +11:00
Kayne Ruse 256538e1f9 Added a utility to call toy functions from C 2022-10-01 13:51:40 +01:00
Kayne Ruse aa44d5fd43 Added aliasing of standard as a feature of standard 2022-09-24 07:20:26 +01:00
GruelingPine185 d77711da7b build library 2022-09-23 18:22:20 -04:00
GruelingPine185 ecbfcc28b5 resolved line ending warnings 2022-09-23 18:16:53 -04:00
Kayne Ruse 6a086395be Renamed Node to ASTNode 2022-09-18 19:14:37 +01:00
Kayne Ruse 7a15e645a7 screwing around 2022-09-18 09:31:25 +01:00
Kayne Ruse 73626da5be Fixed platform stuff 2022-09-18 09:29:03 +01:00
Kayne Ruse c680427b1e Tweaked a build var name 2022-09-18 07:26:23 +01:00
Kayne Ruse 9c790f8cd6 Got hooks working 2022-09-17 13:01:09 +01:00
Kayne Ruse 7eb16e51bb Changed how string/identifier lengths are determined in copyLiteral 2022-09-15 16:36:42 +01:00
Kayne Ruse b7f63ea571 Fixed negating identifiers 2022-09-15 09:58:15 +01:00
Kayne Ruse ac37a017bb Fixed astype null 2022-09-14 18:42:33 +01:00
Kayne Ruse 29b1c41064 Implemented #27, easy coercion from int to float 2022-09-14 16:30:54 +01:00
Kayne Ruse 0f6be5ead7 Can no longer use functions as dictionary keys 2022-09-11 13:36:59 +01:00
Kayne Ruse 2d171dd664 Bad mood 2022-09-11 09:12:12 +01:00
Kayne Ruse acb5cc90a9 I can't get the shared lib to build on linux 2022-09-11 18:01:02 +10:00
Kayne Ruse 95ba865cab Packaged toy as a dll 2022-09-11 07:56:06 +01:00
Kayne Ruse 5b420e0799 Changed how parseCompountToPureValue() is called 2022-09-11 05:51:25 +01:00
Kayne Ruse cbc937884e Found a rare lexer bug 2022-09-10 19:11:16 +01:00
Kayne Ruse 60ddd151a6 Patched a leak 2022-09-10 23:14:47 +10:00
Kayne Ruse a7ca6d23d7 Reviewed the spec, fixed some bugs 2022-09-10 14:11:13 +01:00
Kayne Ruse d3c085c300 Added an out-of-bounds check 2022-09-09 19:52:36 +01:00
Kayne Ruse f2443fbde0 Moved type checking into the type checking function 2022-09-09 19:39:05 +01:00
Kayne Ruse 22d0fe596a Tweaked depth check, Resolved #23 2022-09-09 18:10:45 +01:00
Kayne Ruse 4b99ce2fb6 Fixed nested assignment bug 2022-09-09 17:55:23 +01:00
Kayne Ruse f8747d8707 Tried speeding it up, didn't really work 2022-09-08 09:44:45 +01:00
Kayne Ruse a0ea0f7f31 More subtle bugfixes 2022-09-08 05:42:39 +01:00