Commit Graph

205 Commits

Author SHA1 Message Date
kayomn 8137f2b474 Fix memory leaks
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-07-22 12:36:47 +01:00
kayomn 7b4b827dc2 Refactor Kym runtime API 2023-07-22 11:03:23 +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 84e5236ba1 Add global function calling syntax support 2023-07-19 12:19:56 +01:00
kayomn 1828eb3b45 Refactor Kym runtime values to be objects
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-07-18 23:52:56 +01:00
kayomn 440d63447f Hotfix parser and runtime bugs
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-07-14 20:00:11 +01:00
kayomn 4ff733ca72 Merge pull request 'Implement Bytecode Executor for Kym' (#19) from kym-bytecode-executor into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #19
2023-07-12 02:58:02 +02: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 48f7f97893 Fix default string hashing mechanism 2023-07-12 01:50:18 +01:00
kayomn 7b266fde58 Fix tests failing to trigger in CI
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-07-10 23:44:27 +01:00
kayomn 2218bc5c77 Add foundations of stack trace printing 2023-07-10 23:38:03 +01:00
kayomn 8d361634d7 Tidy up Kym API 2023-07-10 23:06:04 +01:00
kayomn ed585278ff Tidy up allocator type erasing bind function 2023-07-10 22:25:21 +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 7604594630 Work in progress changes
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-06-22 23:46:48 +01:00
kayomn bf0ff03b49 Add stubs for chunk executor to be implemented in
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-06-04 14:45:06 +00:00
kayomn 7714dae4d8 Merge pull request 'Add Leak Detection to Ona Heap Allocator' (#15) from ona-allocator-safety-tracker into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #15
2023-06-04 16:07:46 +02:00
kayomn 3794259949 Amend code review comments
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-06-04 14:06:28 +00:00
kayomn 5500de299b Fix slab count not being properly updated 2023-06-04 14:00:21 +00:00
kayomn 155645a308 Fix allocation size info not updating in reallocs
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-06-04 13:44:27 +00:00
kayomn d378939f30 Remove allocation checks in optimized release builds 2023-06-04 13:37:26 +00:00
kayomn 341710bfbc Fix so, so many memory leaks 2023-06-04 13:09:30 +00:00
kayomn 9c871aac97 Clarify panic wording in Ona heap implementation 2023-06-04 12:34:48 +00:00
kayomn 331d862246 Fix leaks and double-frees in Kym VM environment
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-06-04 02:39:57 +00:00
kayomn 08785b5b54 Improve clarity of stack trace allocation origin 2023-06-04 02:23:07 +00:00
kayomn 2ec39484dc Add more detail to memory leak traces 2023-06-04 02:00:31 +00:00
kayomn d63cfc23d6 Fix various memory leaks caught by new tracer 2023-06-04 01:55:05 +00:00
kayomn d4fd1bfb43 Fix incorrect buffer slicing in stack list deinit 2023-06-04 01:34:21 +00:00
kayomn 306e085d1b Add leak detection to Ona heap allocator
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-06-04 01:16:52 +00:00
kayomn 9eadd30aa5 Merge pull request 'Kym Object Allocation Fix' (#13) from kym-object-alloc-fix into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #13
2023-06-03 22:07:19 +02:00
kayomn d8077d782d Amend code review comments
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-06-03 20:05:47 +00:00
kayomn 713f9bb08c Implement slab map data structure
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-06-03 19:55:59 +00:00
kayomn 55d281bdfa Remove debug printing in Tokenizer 2023-06-03 19:27:03 +00:00
kayomn 4b1ac14569 Merge pull request 'Array and Table Literal Expressions for Kym' (#11) from array-table-literal-expressions into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #11
2023-06-03 16:18:21 +02:00
kayomn bff3db0720 Strength compile-time guarantees of AST operators
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-06-03 14:16:02 +00:00
kayomn 071d890391 Fix Kym error messages
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-06-03 14:04:42 +00:00
kayomn 07a515a81f Tidy up and fix data structures
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-06-02 21:43:53 +00:00
kayomn 27b809f2c5 Add Kym parsing support for array literals
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-05-29 01:37:26 +00:00
kayomn 5e52fcc795 Fix incorrect Stack growth in push_all 2023-05-29 01:36:56 +00:00
kayomn de82444ac3 Fix segfault when allocating zero-length memory 2023-05-29 01:22:30 +00:00
kayomn 1fb5fc6048 Add parser support for table literals 2023-05-28 20:23:13 +00:00
kayomn a8104308a6 Update table of contents in readme
continuous-integration/drone/push Build is passing Details
2023-05-28 12:53:08 +00:00
kayomn f8d7d8cd8e Update readme
continuous-integration/drone/push Build is passing Details
2023-05-28 12:52:16 +00:00
kayomn fc1848d2c1 Fix loading of script files in Ona
continuous-integration/drone/push Build is passing Details
2023-05-28 12:44:32 +00:00
kayomn 1dc0c7f225 Merge branch 'main' of sauce.pizzawednes.day:kayomn/ona
continuous-integration/drone/push Build is passing Details
2023-05-28 02:33:20 +00:00
kayomn 49ace97ee3 Add support for binary comparison to Kym 2023-05-28 02:32:00 +00:00
kayomn 4291bc28dc Update Drone CI to use latest Zig testing framework API
continuous-integration/drone/push Build is passing Details
2023-05-28 03:29:04 +02:00
kayomn fe8e98e753 Fix CI test stage
continuous-integration/drone/push Build is failing Details
2023-05-28 01:26:41 +00:00
kayomn 5642f399b9 Add AST generation stage to Kym parser
continuous-integration/drone/push Build is failing Details
2023-05-28 01:19:46 +00:00
kayomn bb8cb43843 Refactor project structure and Ona APIs
continuous-integration/drone/push Build is failing Details
2023-05-24 00:33:02 +00:00