Commit Graph

466 Commits

Author SHA1 Message Date
Kayne Ruse
584fb115b6 Fixed the awful rule110 implementation 2022-11-28 16:48:45 +00:00
Kayne Ruse
70698a4a1a Simplified an optimisation 2022-11-27 02:25:33 +00:00
Kayne Ruse
eb26d23363 Added FUNDING.yml, because why is this so popular? 2022-11-27 02:14:03 +00:00
Kayne Ruse
c1625c53f4 Patched a bug in deepCopyRefString() v0.6.4 2022-11-26 21:33:46 +00:00
Kayne Ruse
fb55f42d0e Tweaked where strlen() is called 2022-11-26 15:53:07 +00:00
Kayne Ruse
e4ef35092f Merge pull request #43 from Ratstail91/dev
refstring implementation to handle strings and identifiers
v0.6.3
2022-11-26 21:43:35 +11:00
Kayne Ruse
cfafba589b All tests passing, repl builds successfully 2022-11-26 09:53:59 +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
130ac980fe Enabled lexer tests 2022-11-23 13:02:43 +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
7bf18a744c Tweaked bounds check v0.6.2 2022-11-12 11:39:32 +00:00
Kayne Ruse
fa20763c07 Corrected negative timers 2022-11-12 11:30:24 +00:00
Kayne Ruse
774f3d9e83 Corrected error messages in the timer lib 2022-11-12 10:07:54 +00:00
Kayne Ruse
2d18ff4ba3 Fixed some printf formats in the tests v0.6.1 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
3d8ce4e7d8 Trying to fix time and platforms 2022-11-11 17:31:45 +00: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
0aa6e4063b Spotted a scope issue in the test 2022-11-08 20:22:20 +00:00
Kayne Ruse
ec39f099ca Wrote failing TDD test for timer library, not enabled 2022-11-08 19:40:21 +00:00
Kayne Ruse
4dcc05e796 Corrected fnv1 hash algorithm 2022-11-08 19:36:54 +00:00
Kayne Ruse
2af95ec82e Tweak 2022-11-08 02:55:02 +00:00
Kayne Ruse
bbdb521333 Merge remote-tracking branch 'refs/remotes/origin/main' 2022-11-08 02:53:07 +00:00
Kayne Ruse
56987bc96a Tweaked colors for types 2022-11-08 02:52:18 +00:00
Kayne Ruse
8498864dde Resolved a name clash with the engine 2022-11-07 16:38:39 +00:00
Kayne Ruse
14710dec90 Tweaked README.md 2022-11-07 10:12:15 +00:00
Kayne Ruse
d14177dbca Made it easier to install syntax highlighting 2022-11-07 10:02:37 +00:00
Kayne Ruse
42580bbe2a Update toy.tmLanguage.json
Forgot opaque type
2022-11-07 20:47:37 +11:00
Kayne Ruse
0c8e036de8 Added vscode syntax highlighting under /tools 2022-11-07 09:44:26 +00:00
Kayne Ruse
a55338d8e3 Tweaked README.md 2022-11-06 04:15:33 +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
632ed7c089 The tests did not like that 2022-11-03 22:59:25 +11:00
Kayne Ruse
c1528f5501 Parallelized compilation 2022-11-03 12:54:41 +01:00
Kayne Ruse
6c5d952c44 Tests are ok for now 2022-10-20 00:00:13 +01:00
Kayne Ruse
208ad9d615 Experimenting 2022-10-20 09:45:28 +11:00
Kayne Ruse
876aad853c Creating the CI file 2022-10-20 09:42:52 +11:00
Kayne Ruse
1baa65cc95 Removed annoying assertion test messages from test output 2022-10-19 23:34:15 +01:00
Kayne Ruse
e01e096188 Removed spec.md, use https://toylang.com v0.6.0 2022-10-16 11:10:57 +01:00
Kayne Ruse
78ce3bdb99 Added to a test 2022-10-16 10:35:44 +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
168369d897 Moved the license into it's own file 2022-10-07 23:42:31 +11:00
Kayne Ruse
8b04939430 Fixed a typo 2022-10-06 14:23:50 +11:00
Kayne Ruse
8a8074ee6e Update README.md 2022-10-04 17:03:47 +11:00