Commit Graph

82 Commits

Author SHA1 Message Date
568166b4e2 minor code change for type consisitency
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 20:31:11 +09:00
e81bcbab61 removed the brand field from the object header
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-20 03:14:48 +09:00
a3e2b589be added the make_charaarray instruction and pop_into_chararray insruction
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-15 11:51:11 +09:00
f6f475df4a work in progress dropping the brand bits
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-12 18:06:12 +09:00
6e9e1d35f4 added a test on process handling.
Some checks failed
continuous-integration/drone/push Build is failing
used hcl_instantiate() in making process-related objects
2024-09-12 16:08:16 +09:00
8604c6ddf1 call hcl_instantiate() with hcl->c_primitive in hcl_makeprim()
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-12 00:26:23 +09:00
b39bfaa181 updated code to correct the RDONLY bit behavior
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-08 15:52:32 +09:00
4617a68a71 fixed the wrong bootstraping of ByteString
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-07 10:15:54 +09:00
1dedee9ae3 instanation the bxxx literal as ByteString. no more ByteArray
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-07 00:39:46 +09:00
229d3b1f29 renamed return-from-home to revert
All checks were successful
continuous-integration/drone/push Build is passing
treated return and revert as keywords
2024-08-22 18:10:41 +09:00
7252ee5e47 updated the kernel class initialization to set the superclass
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-29 15:36:07 +09:00
e4a26b71be updated initialization of the nivars_super field of kernel classes in gc.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-27 16:27:43 +09:00
b040c2c05a reorganized the kernel class table with the index to the superclass slot for bootstrapping of initial class chains
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-27 01:14:51 +09:00
fb25712133 removed the nivars and ncvars fields from class
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-25 02:44:43 +09:00
dfc6ec94f4 updating internal class representation
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-23 23:50:29 +09:00
bd107a172c renamed all lambdas to funs
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-20 19:15:27 +09:00
0befaf0a97 added the name field to the class struct
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-06 00:47:47 +09:00
75580f5235 fixed the bug accessing the wrong context in IVAR and CVAR_M instructions
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-31 15:16:31 +09:00
c795b28cb8 added hcl_instantiatewithtrailer()
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-15 22:59:34 +09:00
f9ee45cf41 removed an unused variable from gc.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-13 17:22:16 +09:00
d578ded2c8 update for type correctness
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-06 16:52:53 +09:00
b1d62105a5 wip - fixing bootstrapping issues related to objects and classes
Some checks failed
continuous-integration/drone/push Build is failing
2024-04-05 10:00:58 +09:00
4be0299de3 some implementation updates to the CLASS_LOAD instruction
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-04 21:16:28 +09:00
9cd1f90d5d wip - full oop - ignition ok - able to create bootstrapping classes. - able to instantiate objects
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-08 00:23:52 +09:00
874d0c7962 wip - full oop - added spec and selfspec to the class struct
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-06 07:51:29 +09:00
7a15fbc3d1 wip - ongoing full OO support effort
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-03 22:17:14 +09:00
ec73905fc4 wip - full oop. broken code
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-02 19:29:15 +09:00
def1e7349c first attempt in implementing full OO
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-02 14:59:27 +09:00
4afb064530 writing full oop bootstrapping code
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-26 13:34:09 +09:00
007a6c6b48 added more code struct manipulation code
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-28 00:27:27 +09:00
5f91536a38 code cleanup
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-22 11:53:29 +09:00
10189e60ce cleaned up some code
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-07 23:01:17 +09:00
0bf3bde497 making variable resolution more consisitent. class name resolution part still in progress
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-02 12:52:36 +09:00
3d47a99cd2 added many charcter handling code
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-22 00:24:57 +09:00
4f8e7ae76e added the 'fun' symbol as an alias to 'lamba'
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-14 12:20:47 +09:00
5a28ab3749 working on the block expression compilation
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-10 00:03:03 +09:00
b4eb3d9768 fixed a bug of not marking hcl->_undef in gc.c 2022-07-31 11:29:58 +00:00
ff089929a9 added HCL_EUNDEFVAR 2022-05-05 04:03:56 +00:00
fa1c4ac896 added the experimental plus opcode 2022-03-21 15:38:31 +00:00
f4661d018a fixing bugs related to stack, class stack, exceptio stack handling 2022-02-27 19:35:47 +00:00
36aba57e4b some more code clean-up 2022-02-08 14:00:45 +00:00
495cea5704 added a new identifier - self 2022-02-05 17:35:10 +00:00
2f2baf2f59 fixed initialization of hcl->nil_process
got rid of HCL_CODE_MAKE_CLASS and merged its feature to HCL_CODE_CLASS_ENTER
2021-06-25 16:07:29 +00:00
2fbb2eda6c wrote more code to support classes 2021-06-25 15:19:11 +00:00
b41be3e5c4 added some code to handle defclass 2021-05-29 05:44:29 +00:00
b1f7ab6538 implemented multiple return values assignment with set-r 2021-05-15 05:31:36 +00:00
9409e8ec65 removed 'return' from where it's not needed 2021-02-28 06:43:22 +00:00
378bae261a fixed some compiler bugs in processing weird if..elif..else expressions without body parts - (if true), (if false else), (if false elif true) 2021-02-18 15:48:44 +00:00
43322c6901 moved the heapsize parameter from hcl_open() to hcl_ignite() 2021-02-09 17:47:22 +00:00
1d0c7a8bbc allowed vmprim.alloc_heap() to create a bigger heap than requested.
enhanced the standard implementation(std.c) to attempt HUGETLB if the requested heap size is over 1/2 of the huge page size
2021-02-09 14:54:54 +00:00