Commit Graph

539 Commits

Author SHA1 Message Date
Add00
9a56a86ec8 add read/write for bools, and fixed sanitize issue 2023-08-19 21:51:44 -04:00
Add00
3ddda21ff2 Improved error messages, and feedback improvements 2023-08-19 15:41:21 -04:00
Add00
65acdd2730 in and out file marked as static 2023-08-15 22:53:16 -04:00
Add00
1603ea1798 mostly fixed sanitization issue 2023-08-14 23:09:13 -04:00
Add00
79f2e231db fix stack overflow issue 2023-08-14 22:22:20 -04:00
Add00
ab0720a5ef memory leak and several bugs fixed 2023-08-14 22:02:33 -04:00
Add00
901940a3d0 Merge branch 'Ratstail91:main' into main 2023-08-14 18:56:13 -04:00
Kayne Ruse
4c9a2e5378 Merge pull request #106 from hiperiondev/main
Disassembler: Some optimizations
2023-08-15 03:57:29 +10:00
hiperiondev
1e11e9eea7 Start independent code from PC zero. Add hierarchical notation for function index. Add guard for end literals. Some presentation formats. 2023-08-14 14:46:07 -03:00
Kayne Ruse
cce8ae1ea3 Added disassembler, thanks @hiperiondev, bumped minor version v1.3.0 2023-08-14 23:06:05 +10:00
Kayne Ruse
ce54912232 Removed an extra pair of SCOPE_BEGIN and SCOPE_END from function bytecode
This should reduce the memory footprint a bit
2023-08-14 22:17:33 +10:00
Add00
a0acd27be1 partly fixed memory leak issue 2023-08-13 22:27:54 -04:00
Kayne Ruse
23b55fc360 Fixed execFnDecl accidentally modifying the literalCache for a moment, resolved #105 2023-08-14 10:47:10 +10:00
Add00
0c005d0af2 added file operations and additional tests 2023-08-12 16:02:54 -04:00
Add00
38ba2273dd added accessors, write and additional tests 2023-08-10 23:00:26 -04:00
Add00
1b8d8cfba0 Removed debug code 2023-08-09 08:48:40 -04:00
Add00
648a5f84db fixed close function 2023-08-08 23:41:23 -04:00
Add00
e2dda434f8 Fixed memory leak 2023-08-08 19:25:18 -04:00
Add00
5a8e2c0527 Fixed path 2023-08-08 19:05:35 -04:00
Add00
dea5cf6d43 removed HAL 2023-08-08 19:04:27 -04:00
Add00
930115f94c Merge branch 'Ratstail91:main' into main 2023-08-08 13:57:57 -04:00
Kayne Ruse
62fe86f99b Fixed indexing in argument lists, resolved #102 2023-08-09 02:25:07 +10:00
Add00
2fa6b7ee23 added basic read, and an improved HAL 2023-08-06 09:39:06 -04:00
Ratstail91
401de578a5 Short circuitable operators are extremely loose 2023-08-06 04:53:46 +10:00
Kayne Ruse
fb4258f9df Fixed broken test 2023-08-06 04:38:55 +10:00
Ratstail91
f885fdaf4c Short circuits are now functioning correctly, resolved #73 2023-08-06 04:28:02 +10:00
Kayne Ruse
cfec1b6911 Added int to float coercions to function args and returns, when specified 2023-08-06 02:17:32 +10:00
Add00
43b58eb421 Library rename, added HAL, added open function 2023-08-04 23:13:43 -04:00
Kayne Ruse
a63bdaef1c Merge remote-tracking branch 'refs/remotes/origin/main' 2023-08-04 18:43:32 +10:00
Kayne Ruse
3783c94064 Allow trailing commas when writing a compound 2023-08-04 18:43:07 +10:00
Ratstail91
d292b33184 Tweaked types to stop MSVC complaining 2023-08-04 18:24:54 +10:00
Kayne Ruse
64944c24f6 Snipped some duplicate code, resolved #97 2023-08-04 14:52:01 +10:00
Kayne Ruse
604604e8bc Two opcodes weren't being used, resolved #98 2023-08-04 14:51:08 +10:00
Kayne Ruse
67e49b7477 Fixed the way an identifier was handled, resolved #99 2023-08-04 14:45:07 +10:00
Kayne Ruse
967963c9d7 Fixed a spelling mistake 2023-08-03 15:22:06 +10:00
Add00
36b4a494ae io library file creation 2023-08-02 22:19:09 -04:00
Kayne Ruse
9b469e6eb0 Merge pull request #94 from Add00/main
Adding a math library to toy
2023-08-03 01:40:19 +10:00
Add00
f8094fa17e Added hyperbolic and additional comparisons 2023-08-02 11:25:27 -04:00
Add00
8714c56c3e Implemented feedback 2023-08-02 08:39:50 -04:00
Add00
9faaa311e0 Fixed Memory Leak 2023-08-01 17:50:20 -04:00
Add00
f5ba1181c0 Added arc versions of trigonometric functions 2023-08-01 13:41:55 -04:00
Add00
b06b2d9485 test cases and additional functions 2023-08-01 09:04:37 -04:00
Add00
e3e9ca7ece Added math library 2023-07-31 23:31:12 -04:00
Add00
81fe278c96 Added partial cos and sine implementations 2023-07-31 19:02:55 -04:00
Add00
027d093e21 Added math constants for pi and e 2023-07-31 13:56:06 -04:00
Add00
2eaf7fc71a Merge branch 'main' of https://github.com/Add00/Toy 2023-07-31 13:16:01 -04:00
Add00
c43310f316 Code clean up 2023-07-31 13:13:10 -04:00
Add00
6e07c5f2f4 Merge branch 'Ratstail91:main' into main 2023-07-31 13:11:06 -04:00
Ratstail91
7690dce3f6 Fixed casting and grouping v1.2.1 2023-07-31 17:26:07 +10:00
Ratstail91
1ed1993489 Whoops, lets try that again. 2023-07-31 16:55:27 +10:00