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
Ratstail91
35bfa1b9f1
Tweak, these were annoying me
2023-07-31 12:06:04 +10:00
Kayne Ruse
7f692b4cb4
Renamed the about library to toy_version_info library, resovled #81
2023-07-31 11:15:10 +10:00
Kayne Ruse
0cef0abdb5
Adjusted the layout of nativeClamp() and nativeLerp(), thanks Add00!
2023-07-31 04:51:40 +10:00
Kayne Ruse
6ba42b5a9b
Merge pull request #93 from Add00/main
...
Adding clamp and lerp functions to standard library
2023-07-31 04:12:15 +10:00
Add00
3cb62274c9
Fixed merge issue
2023-07-30 13:21:42 -04:00
Add00
60b561d809
Merge branch 'Ratstail91:main' into main
2023-07-30 13:16:57 -04:00
Add00
70b2dcd829
Added clamp and lerp functions to standard library
2023-07-30 13:15:39 -04:00
Ratstail91
0955b3ff38
Tweak to the MSVC build
2023-07-31 02:04:27 +10:00
Kayne Ruse
4137935468
Added sign() and normalize() to standard lib
2023-07-30 17:46:00 +10:00
Kayne Ruse
ebeabcb9d4
Reordered some functions for clarity, caught a bug or two
2023-07-28 02:42:57 +10:00
Kayne Ruse
4d33a9473a
Added tools/changing-of-the-guard.cpp, resolved #89
...
A present for @hyperiondev - just run this in the 'includes/' directory.
It's easier than changing things by hand.
2023-07-28 01:09:58 +10:00
Kayne Ruse
61e3cdba82
Fixed a potential linker issue
2023-07-26 08:13:05 +10:00
Ratstail91
3b7d2be87e
Discovered and fixed a misplaced macro
2023-07-26 01:44:15 +10:00
Kayne Ruse
fa175203c9
Tweaked docs
2023-07-26 01:08:54 +10:00
Kayne Ruse
b4a3e9b42b
Renamed drive system files, see #88
2023-07-26 00:53:41 +10:00
Kayne Ruse
6347778ead
Moved drive system to repl, resolved #88
2023-07-26 00:46:47 +10:00
Kayne Ruse
ba98624e82
Fixed C-API function name, resolved #87 , thanks @hiperiondev
v1.2.0
2023-07-26 00:22:45 +10:00
Ratstail91
24ce965e76
Smoothed out building on Windows
2023-07-23 23:57:48 +10:00
Kayne Ruse
29c130135c
Tweak
2023-07-23 18:34:52 +10:00
Kayne Ruse
01eca37560
Comment tweak
2023-07-22 19:14:33 +10:00
Kayne Ruse
8e5ec7d847
Tweaked docs in repl_tools.h and toy.h
2023-07-22 19:11:45 +10:00
Kayne Ruse
9ed6383630
Wrote tests for the drive system, resolved #75
2023-07-21 05:20:59 +10:00
Kayne Ruse
1ec0f63f76
Removed unneeded safties from the libs
...
I missed removing these before, and I haven't needed these in a long time.
2023-07-21 04:25:36 +10:00
Kayne Ruse
d2341ae227
Bumped version number
2023-07-21 03:08:06 +10:00
Kayne Ruse
3782f2aaaa
Comment tweak
2023-07-21 02:59:07 +10:00
Kayne Ruse
b636ab9e31
Added a new issue template
2023-07-21 02:41:45 +10:00
Kayne Ruse
cdfe17ad53
Added mecha-style comment docs to a bunch of headers
2023-07-20 19:44:40 +10:00
Kayne Ruse
3d7d1179c9
Added mecha tool
2023-07-19 18:09:18 +10:00
Kayne Ruse
c3c46b4fc6
Refactored parseIdentiferToValue(), removed unneeded safties
v1.1.6
2023-07-15 00:34:15 +10:00
Kayne Ruse
0e41b00ef4
Fixed a post-fix increment issue, highlighted in the game engine
2023-06-20 13:54:21 +10:00
Kayne Ruse
f6ec6a8c73
The any type is now recognized as a type properly
v1.1.5
2023-06-19 23:16:46 +10:00
Kayne Ruse
2157b2f540
Fixed an obscure compiler bug involving assignments and indexing, read more
...
TOY_OP_INDEX_ASSIGN_INTERMEDIATE was being used when it shouldn't have.
Now the check runs down the whole binary->right branch to ensure the given
node doesn't exist in that tree.
2023-06-15 12:29:25 +10:00
Kayne Ruse
1481216e69
Fixed chained functions, resolved #52
2023-06-14 17:41:30 +10:00
Kayne Ruse
f25f389b4e
Removed a macro that potentially broke the build
...
Gonna have to live with repl code in the lib for now.
2023-06-14 16:53:48 +10:00
Kayne Ruse
deff784df8
Removed a speed test script
2023-06-14 16:40:01 +10:00
Kayne Ruse
54e82846c3
Massive dict copying optimisation, read more
...
I simply pre-allocated the new dict to the right size. This skips
internal copying logic which was repeated on every expansion. This
Should increase scope copying as well.
I applied the same logic to arrays, but the increase in speed was tiny.
2023-06-13 14:49:46 +10:00
Kayne Ruse
67fce427eb
Added an initial sorted test to the sort() function
2023-06-13 08:17:42 +10:00
Kayne Ruse
8a2cb61435
Made quicksort on mostly-sorted arrays more efficient
2023-06-13 07:28:54 +10:00
Ratstail91
50d03e28fc
Fixed MSVC compilation
2023-06-12 00:05:24 +10:00
Kayne Ruse
763581c73b
Added header-only parsing to the repl, read more
...
Also:
* Ensured TOY_VERSION_BUILD is consistent throughout the whole build
* Updated README.md
2023-06-07 23:55:30 +10:00
Kayne Ruse
cdb2613e5d
Disallowed fn decl in for loop pre clause
2023-06-07 19:20:50 +10:00
Kayne Ruse
733df87c08
Added dist target, lowered recursion depth limit
v1.1.4
2023-06-07 14:58:51 +10:00
Kayne Ruse
bfd506f497
Forgot memory allocator for reffunctions
2023-06-07 02:02:35 +10:00
Kayne Ruse
18b59c9e84
Bumped version number
v1.1.3
2023-06-07 00:11:34 +10:00
Ratstail91
d3eb31d964
Added TOY_DISABLE_REPL option for compiling
2023-06-07 00:04:05 +10:00
Kayne Ruse
07f4a98b95
Replacing Toy_Literal function bytecode with Toy_RefFunction, addressing #77
...
This seems to have worked way too easily.
2023-06-06 23:35:59 +10:00