Commit Graph

534 Commits

Author SHA1 Message Date
hiperiondev
a9ccd65da1 Add disassemblre group option 2023-08-28 23:46:02 -03:00
hiperiondev
6be29ed8c5 Add implicit fn return 2023-08-23 20:48:06 -03:00
hiperiondev
6341d3337f Correct disassembler 2023-08-23 12:37:28 -03:00
Kayne Ruse
d4f952eafc Merge pull request #110 from hiperiondev/main
Add disassembler alternative format
2023-08-23 22:09:33 +10:00
hiperiondev
d5bc07d3b3 Add header reference 2023-08-23 08:36:27 -03:00
hiperiondev
5a851f6fbe Rename 2023-08-22 20:35:22 -03:00
hiperiondev
d8c6a3ec27 Correct memory leak 2023-08-22 20:21:43 -03:00
hiperiondev
b5883e248b Correct format 2023-08-22 19:45:14 -03:00
hiperiondev
52048f2466 Correct literal format 2023-08-22 19:31:06 -03:00
hiperiondev
6b8e95d250 Add disassembler alternative format 2023-08-22 18:23:27 -03:00
Ratstail91
5721edc2d1 Tweaked disassembler pretty printing, because I'm bored 2023-08-22 07:27:36 +10:00
Ratstail91
db52c13613 Removed extra scope around for loop body blocks, resolved #107 2023-08-22 01:11:49 +10:00
Ratstail91
7290efe069 Tweaked valgrind test
@add00 you'll want to merge these and test them
2023-08-22 00:43:48 +10:00
Ratstail91
0cf92bdeae Added contributors to the README, removed a binary that was accidentally committed 2023-08-19 06:53:34 +10: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
Kayne Ruse
23b55fc360 Fixed execFnDecl accidentally modifying the literalCache for a moment, resolved #105 2023-08-14 10:47:10 +10:00
Kayne Ruse
62fe86f99b Fixed indexing in argument lists, resolved #102 2023-08-09 02:25:07 +10: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
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
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
Ratstail91
9b5327b83d Merge bug 2023-07-31 16:22:04 +10:00
Ratstail91
10dbe8f8f1 Fixed casting + grouping, resolved #67 2023-07-31 16:20:45 +10:00
Ratstail91
9e4ad7a9a5 Fixed casting + grouping, resolved #67 2023-07-31 16:17:33 +10:00
Add00
5317a12383 Added radian and degree conversion functions. 2023-07-30 23:17:43 -04:00
Ratstail91
35bfa1b9f1 Tweak, these were annoying me 2023-07-31 12:06:04 +10:00