Commit Graph

218 Commits

Author SHA1 Message Date
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 a62588dfe4 Fix compilation error in speed and size-optimized release builds 2023-07-30 14:33:41 +01:00
kayomn 8cb0f007d5 Fix compilation errors
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-07-29 16:04:27 +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 894dabb2c4 Fix leak detector message formatting 2023-07-22 15:20:31 +01:00
kayomn e71048e83d Merge pull request 'Improve Syntax Error Messages and Fix Comments' (#29) from kym-script-comments into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #29
2023-07-22 16:08:02 +02:00
kayomn 51732a9bf5 Change KYM tokenizer to be internal AST.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-07-22 15:06:39 +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 7c71e0528f Add line delimiter between error messages and traces 2023-07-22 14:46:35 +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 5d06e61564 Merge pull request 'Native "Syscall" Interface for Kym' (#21) from kym-native-function into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #21
2023-07-22 15:03:21 +02:00
kayomn a320a795bc Amend code review issues
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-07-22 13:57:39 +01:00
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