Kayne Ruse
923cf70c06
Minimal build of the refstrings in the literal structure
2022-11-23 12:52:49 +00:00
Kayne Ruse
4518b59417
Added custom allocator support
2022-11-19 08:18:45 +00:00
Kayne Ruse
fa20763c07
Corrected negative timers
2022-11-12 11:30:24 +00:00
Kayne Ruse
2d18ff4ba3
Fixed some printf formats in the tests
2022-11-12 03:26:14 +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
e0ab4106fa
Implemented the timer library
2022-11-11 17:18:07 +00:00
Kayne Ruse
2c143a8be5
Moved tests from scripts/ to test/scripts/
2022-11-11 14:51:47 +00:00
Kayne Ruse
ec39f099ca
Wrote failing TDD test for timer library, not enabled
2022-11-08 19:40:21 +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
1baa65cc95
Removed annoying assertion test messages from test output
2022-10-19 23:34:15 +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
8ce7dd0d95
typo = memory leak
2022-10-04 07:04:44 +11:00
Kayne Ruse
ca24c4f211
Added the opaque data type
2022-10-03 21:02:13 +01:00
Kayne Ruse
016ab9c5fe
Fixed the tests
2022-10-03 20:24:19 +01:00
Kayne Ruse
99bcffe77c
Typo in a comment
2022-10-02 16:22:30 +11:00
Kayne Ruse
50cc5ca270
Plugged memory leaks in the test
2022-10-01 23:00:16 +10: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
Kayne Ruse
6a086395be
Renamed Node to ASTNode
2022-09-18 19:14:37 +01:00
Kayne Ruse
c680427b1e
Tweaked a build var name
2022-09-18 07:26:23 +01:00
Kayne Ruse
64cc514171
Expanded the tests a little
2022-09-18 07:03:18 +01:00
Kayne Ruse
978e7cfac4
wrote a simple test for libs
2022-09-18 06:52:00 +01:00
Kayne Ruse
29b1c41064
Implemented #27 , easy coercion from int to float
2022-09-14 16:30:54 +01:00
Kayne Ruse
4137b7f057
switched typeof for oftype, switched typeas for astype
2022-09-07 14:47:57 +01:00
Kayne Ruse
17f1dc8647
cleaning up tests
2022-09-06 09:22:50 +01:00
Kayne Ruse
82c03ecb33
Added the typeas keyword to avoid ambiguity
2022-09-05 12:24:42 +01:00
Kayne Ruse
2aecf6e8a1
Implemented typeof and added resetInterpreter()
2022-09-05 10:56:35 +01:00
Kayne Ruse
2a3206d951
Rearranged some internal initialization to support multiple files being run
2022-09-05 09:55:04 +01:00
Kayne Ruse
7fb9ebbce0
Import and export are working
2022-09-05 06:39:05 +01:00
Kayne Ruse
dceb83e618
Suppressed print statements during tests
2022-09-05 05:30:06 +01:00
Kayne Ruse
cc27da50df
Reworked dot.toy into a proper test
2022-09-04 10:37:19 +01:00
Kayne Ruse
36154b25ac
Changed dict type syntax to using a colon instead of a comma
2022-09-04 09:01:09 +01:00
Kayne Ruse
4ad33a3082
Fixed jumps in functions issue
2022-09-03 07:57:25 +01:00
Kayne Ruse
90b504d3a4
No segfaults, still failing tests
2022-09-01 14:00:31 +10:00
Kayne Ruse
3a4017cea5
Lots of runtime errors
2022-08-30 12:09:11 +10:00
Kayne Ruse
14718a08d3
I fucking found it
2022-08-30 04:51:28 +10:00
Kayne Ruse
1c6c7e5d4f
I GIVE UP
2022-08-29 21:38:54 +10:00
Kayne Ruse
08c8e7e3e6
Another one bites the dust!
2022-08-29 16:25:53 +10:00
Kayne Ruse
d055e9dc94
WE ARE THE CHAMPIONS!
2022-08-29 15:33:58 +10:00
Kayne Ruse
a6f0200255
Eventually gonna squash all of today's work
2022-08-29 04:08:31 +01:00
Kayne Ruse
61efb96fe2
Don't get testy with me
2022-08-29 12:23:48 +10:00
Kayne Ruse
1937d727bb
Working on refactoring, read more
...
The main program segfaults, but right now I'm working on the tests, mainly.
2022-08-29 10:21:25 +10:00
Kayne Ruse
4fb2dea1b4
Found a leak, moving to linux
2022-08-28 23:47:58 +01:00
Kayne Ruse
f705d82aee
Wrote some small tests
2022-08-28 09:35:46 +01:00
Kayne Ruse
71ff481f6c
Began working on unit tests
2022-08-28 08:10:41 +01:00
Kayne Ruse
5300e2ceec
Gonna start unit testing to resolve issues
2022-08-28 07:03:12 +01:00
Kayne Ruse
ec91bac8a5
Native functions are working
2022-08-27 15:39:42 +01:00
Kayne Ruse
e523a6f60a
Interpreter adopts inner interpreter panic state on assert failure
2022-08-27 12:07:41 +01:00