Commit Graph

36 Commits

Author SHA1 Message Date
kayomn 9cf2e671d3 Implement initial update loop for canvas usage in scripts 2023-11-16 00:34:28 +00:00
kayomn c30f10db96 Implement string interpolation
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-11-07 23:22:25 +00:00
kayomn b28b1a86c9 Fix double free and boxing bugs in VM
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-11-06 22:27:09 +00:00
kayomn 816051f066 Amend code review
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-11-05 15:51:25 +00:00
kayomn c86173d759 Fix bugs with n+1-nested closures
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-11-05 12:25:16 +00:00
kayomn 88ff2a64b6 Make arguments read-only
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-11-04 13:41:39 +00:00
kayomn 880761a722 Implement closures 2023-11-04 11:30:45 +00:00
kayomn 0965779e83 Rewrite Ona Script implementation
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-10-29 21:48:21 +00:00
kayomn 523509d300 Hotfix for miscompilation in lambdas that return lambdas
continuous-integration/drone/push Build is passing Details
2023-09-03 02:19:33 +01:00
kayomn c071ca82aa Fix empty strings being parsed incorrectly
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-26 21:36:16 +01:00
kayomn 5c08a1b63e Add lambda argument arity checking to runtime
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-08-26 21:30:36 +01:00
kayomn b9f03b34c1 Add argument resolving to functions
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-26 17:00:55 +01:00
kayomn f5ed4bbcad Add support for basic lambda syntax 2023-08-26 16:00:17 +01:00
kayomn 83fa162ba8 Make local declarations require "var" prefix
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-25 23:40:17 +01:00
kayomn 08a63489b0 Add if / else 2023-08-24 23:45:29 +01:00
kayomn bb1e689c5a Add while loops
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-22 23:49:23 +01:00
kayomn 2d016dc085 Implement if statements in AST and jumps in the VM
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-20 17:41:57 +01:00
kayomn d53bf188cf Implement vector swizzling in Kym
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-20 02:35:53 +01:00
kayomn 016165b6a6 Replace dedicated vector literal syntax builtins
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-13 14:27:03 +01:00
kayomn 919d32e714 Add vector primitive object to Kym 2023-08-13 02:03:43 +01:00
kayomn 429f7a52ad Replace system objects with builtins and syscalls
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-13 01:14:08 +01:00
kayomn 66df9e3a1e Add support for subscript operations on objects
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-12 15:10:46 +01:00
kayomn 6c0e3477c2 Separate get-extension functions from Kym env. 2023-08-12 14:53:27 +01:00
kayomn b012e1e5f6 Re-implement native function binding / calling
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-08-12 14:11:19 +01:00
kayomn 1f9df3fc1d Refactor and clean up virtual machine 2023-08-12 12:57:50 +01:00
kayomn 3173dd52fe Consolidate variable operations into expressions 2023-07-30 23:18:43 +01:00
kayomn b6f7ab1edb Add support for field get access of objects
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-07-30 14:34:19 +01:00
kayomn 0141c9c2ed Partially complete work on table overhaul
continuous-integration/drone/push Build is passing Details
2023-07-23 03:12:45 +01:00
kayomn 62a318e69b Fix comments not being properly tokenized
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-07-22 14:56:57 +01:00
kayomn b311c73c43 Add syntax error reporting
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-07-22 14:44:33 +01:00
kayomn 1ea115b277 Replace globals with native call interface
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-07-21 23:03:25 +01:00
kayomn dc674ae2c3 Add local variables to Kym
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-07-12 01:51:32 +01:00
kayomn c1f174a513 Get rid of extraneous and unused code
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-07-10 01:10:56 +01:00
kayomn b94e03f829 Simplify debug test case 2023-05-23 23:22:29 +00:00
kayomn 1e0dff6dba General fixes 2023-05-06 01:47:52 +00:00
kayomn 359fcd190d Port back to Zig
continuous-integration/drone Build is failing Details
2023-04-19 00:25:35 +01:00