Commit Graph

138 Commits

Author SHA1 Message Date
kayomn a0c30163a2 Implement hash table type in Coral 2023-05-24 00:30:40 +00:00
kayomn 181c44d85f Add number wrapping utility to coral 2023-05-23 23:22:12 +00:00
kayomn 54e716e4cf Tidy up coral library 2023-05-23 00:08:34 +00:00
kayomn d5d5b69f54 Add partial work on new VM interface
continuous-integration/drone/push Build is failing Details
2023-05-09 22:57:19 +00:00
kayomn 24a4590293 Expose canvas item API on Ona app 2023-05-09 21:12:17 +00:00
kayomn d034c526e4 Replace graphics file with canvas API 2023-05-09 21:05:14 +00:00
kayomn 38dadb6d05 Fix compile errors in slot map remove function 2023-05-09 20:59:26 +00:00
kayomn 946c67f154 Add way to remove elements from dense slot maps 2023-05-07 14:39:15 +00:00
kayomn 1ab9bba9da Implement null allocator 2023-05-07 14:51:22 +01:00
kayomn f99e1eab67 Re-add old Kym bytecode logic
continuous-integration/drone/push Build is failing Details
2023-05-06 01:49:10 +00:00
kayomn 1e0dff6dba General fixes 2023-05-06 01:47:52 +00:00
kayomn e9f12785f9 Mark Vector2 as having an ABI defined memory layout
continuous-integration/drone/push Build is failing Details
2023-04-28 22:20:46 +00:00
kayomn 3efe246ed0 Fix mismatched type in parse_signed 2023-04-27 21:11:49 +00:00
kayomn 40f4c37dc8 Fix parse_signed returning an unsigned integer 2023-04-27 21:02:38 +00:00
kayomn a2990e67c7 Fix various parsing errors in Kym
continuous-integration/drone/push Build is failing Details
2023-04-23 16:25:42 +01:00
kayomn 2331d99bc9 Add missing push_table to Kym compiler 2023-04-23 16:02:34 +01:00
kayomn 0974cb016b Tidy up Kym implementation 2023-04-23 15:53:50 +01:00
kayomn d1110d8683 Re-implement Tag metaprogramming utility 2023-04-23 13:40:49 +01:00
kayomn a7605c6ffa Remove unused coral IO functions 2023-04-19 20:53:51 +01:00
kayomn 359fcd190d Port back to Zig
continuous-integration/drone Build is failing Details
2023-04-19 00:25:35 +01:00
kayomn 78ae403f61 Refine and fix bugs in the Oar library
continuous-integration/drone/push Build is passing Details
2023-02-24 00:35:36 +00:00
kayomn 2a0f821e64 Add monadic test function to coral::expected 2023-02-24 00:33:04 +00:00
kayomn 0bfd1c80ce Tidy up stack API in coral library
continuous-integration/drone/push Build is passing Details
2023-02-23 20:13:56 +00:00
kayomn db380e6bae Add constructor for coral::closure that accepts pointers
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-02-23 15:00:32 +00:00
kayomn 237c0b4d19 Replace coral::callable with coral::closure
continuous-integration/drone/push Build is passing Details
2023-02-23 14:59:29 +00:00
kayomn eb213d24ed Remove redundant constructor argument from coral::fixed_buffer
continuous-integration/drone/push Build is passing Details
2023-02-23 14:44:55 +00:00
kayomn ba5bc0674c Tidy up footprint of app libray
continuous-integration/drone/push Build is passing Details
2023-02-23 14:02:17 +00:00
kayomn cf8124eb20 Expose interface for writing single values into coral::fixed_buffer 2023-02-23 00:51:48 +00:00
kayomn 2b1a34d5e2 Expose interface for querying access rules on coral::fs 2023-02-23 00:28:06 +00:00
kayomn 2f884f92a1 Add way to count coral::fixed_buffer 2023-02-23 00:18:14 +00:00
kayomn da3e87fe3b Tidy up coral::fixed_buffer interface 2023-02-23 00:14:24 +00:00
kayomn c3a49eed7f Add casting function for coral::fixed_buffer to coral::slice 2023-02-22 23:29:33 +00:00
kayomn 2dd7946b88 Temporarily drop testing of Kym library
continuous-integration/drone/push Build is passing Details
2023-02-22 23:19:42 +00:00
kayomn f9ac5831cf Improve compile-time safety of coral::callable
continuous-integration/drone/push Build is failing Details
2023-02-22 22:59:33 +00:00
kayomn 02d4d56f35 Rename kym::value::as_* functions to kym::value::to_*
continuous-integration/drone/push Build is passing Details
2023-02-22 21:03:24 +00:00
kayomn cf5ca23f94 Fix typo in coral::file_writer destructor 2023-02-22 21:02:42 +00:00
kayomn 9b06e7d2e2 Expose virtual destructors on coral::file_reader and coral::file_writer 2023-02-22 21:00:11 +00:00
kayomn f601f51f7a Improve memory model of coral::stack
continuous-integration/drone/push Build is passing Details
2023-02-22 20:53:58 +00:00
kayomn fb06ce217f Remove unsafe raw pointer accessors from coral::stack 2023-02-22 15:39:28 +00:00
kayomn d58c9e67c4 Update runtime
continuous-integration/drone/push Build is passing Details
2023-02-22 15:35:33 +00:00
kayomn cd3fd2f04a Tidy up main coral module file 2023-02-22 15:35:22 +00:00
kayomn 809b45dc3c Move data streaming and formatting utils into new coral io module 2023-02-22 15:32:04 +00:00
kayomn d8b9a7e330 Tidy up coral::stack 2023-02-22 15:31:21 +00:00
kayomn 5d4f40393b Tidy up and fix app::file API
continuous-integration/drone/push Build is passing Details
2023-02-20 23:11:37 +00:00
kayomn fd62ec5966 Refactor directory file-system abstraction in app library 2023-02-20 22:29:39 +00:00
kayomn c4b83082e3 Rename coral::fixed_buffer to coral::ring_buffer 2023-02-20 22:28:15 +00:00
kayomn 0b8167ce1d Clarify coral::ring_buffer doc comment that it is a ring buffer 2023-02-20 22:03:37 +00:00
kayomn cea0a4e0ed Add circular buffer to coral library
continuous-integration/drone/push Build is passing Details
2023-02-20 21:58:36 +00:00
kayomn 37b2586eaa Export app::readable_file for API use 2023-02-20 16:12:29 +00:00
kayomn 685e09412b Replace unstable coral::optional functions with operators
continuous-integration/drone/push Build is passing Details
2023-02-20 15:30:00 +00:00
kayomn c36bf5b76c Tidy up Kym library 2023-02-20 15:27:14 +00:00
kayomn f20e220e35 Remove redundant type specifiers from Oar library 2023-02-20 15:26:59 +00:00
kayomn 1e87aa7fcf Add monadic mapping function to coral::optional 2023-02-20 15:26:27 +00:00
kayomn f2694b61cb Improve explicitness of coral::as_bytes memory lifetime 2023-02-20 15:00:39 +00:00
kayomn d6ba17c4ab Remove unnecessary type specifier 2023-02-20 14:40:42 +00:00
kayomn a67d7239a4 Implement core function to reinterpreting anything as bytes 2023-02-20 14:30:14 +00:00
kayomn 168d5375a4 Complete reader / writer interface rework 2023-02-20 01:28:58 +00:00
kayomn 712b490894 Mark coral::fs::rules as const 2023-02-20 01:10:17 +00:00
kayomn eb93da95e5 Change coral::fs::~fs to be non-pure virtual 2023-02-20 01:08:39 +00:00
kayomn f76d908325 Expose virtual destructor on coral::fs 2023-02-20 01:00:14 +00:00
kayomn a85b0c21f5 Expose IO rules on the file system interface 2023-02-20 00:49:35 +00:00
kayomn 3e4753f985 Fix incorrect type aliases in coral library 2023-02-20 00:35:29 +00:00
kayomn 924780d92c Update coral library to use new reader / writer system 2023-02-20 00:34:46 +00:00
kayomn 9ac61b614f Replace coral::readable / writable with coral::reader / writer 2023-02-19 23:06:17 +00:00
kayomn c45a270a0b Improve config load error message in runtime 2023-02-19 17:43:37 +00:00
kayomn 3856a03ec1 Add explicit conversion from coral::path to coral::slice 2023-02-19 17:43:09 +00:00
kayomn 8ced8440fc Remove coral::fs::access_result 2023-02-19 17:16:43 +00:00
kayomn cba6e26995 Remove unnecessary coral:: prefixes in coral libray 2023-02-19 16:51:38 +00:00
kayomn d8ab57844d Rename core library to "coral" 2023-02-19 16:50:29 +00:00
kayomn e711b4d506 Rename core.lalgebra to core.math 2023-02-19 16:47:16 +00:00
kayomn 88fabfaa51 Clean up app library 2023-02-19 16:45:40 +00:00
kayomn be0527dac8 Fix build error in kym::default_stringify 2023-02-19 16:44:16 +00:00
kayomn 9af0e860cb Add skeleton of oar library 2023-02-19 16:43:30 +00:00
kayomn 125dcc4cdf Remove static assert message in core::path constructor 2023-02-19 16:41:22 +00:00
kayomn 298c7bfe94 Fix runtime error regression in core::copy 2023-02-19 16:32:02 +00:00
kayomn 3a9a6a34bb Fix runtime error regression in core::copy 2023-02-19 16:31:45 +00:00
kayomn 5394e8de67 Add unsigned integer printing to core library 2023-02-19 16:21:44 +00:00
kayomn f6ae40617e Fix compilation error in core::path constructor 2023-02-19 15:48:29 +00:00
kayomn e64013f03b Add missing note to core::path::begin 2023-02-19 14:24:17 +00:00
kayomn 811176ad53 Expose way to zero memory in core library 2023-02-19 14:15:11 +00:00
kayomn 22a8b63d0f Add compile-time checked value constructor to path 2023-02-19 14:14:43 +00:00
kayomn 51b73aa823 Add file system interfacing to core library 2023-02-19 02:02:51 +00:00
kayomn a58b0d7bdb Add disclaimer about path hash code 2023-02-18 23:49:31 +00:00
kayomn 44ee0591a2 Add more byte manipulation utils to core library 2023-02-18 20:48:06 +00:00
kayomn 340120d920 Enable constexpr on core::equals 2023-02-18 20:23:03 +00:00
kayomn e3c4ab65f1 Clean up core library. 2023-02-18 19:40:12 +00:00
kayomn 43383058c6 Improve error handling with core::expected 2023-02-18 13:19:01 +00:00
kayomn d5b4281d36 Port codebase to C++20 2023-02-18 03:34:40 +00:00