Commit Graph

73 Commits

Author SHA1 Message Date
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
65c23a3ff5 removed unneeded code
uniformize the naming of locptr, dbgl to dbgi
2021-02-01 03:32:09 +00:00
3dad8ce013 enhanced the compiler to support (continue) 2021-01-29 08:13:18 +00:00
16557a970c yet implementing the new compiler 2021-01-19 14:07:42 +00:00
e4ae7add8b coding a better compiler 2021-01-17 17:45:39 +00:00
6720640ed7 adding some work-in-progress code to store debugging information for generated byte codes 2021-01-03 13:51:23 +00:00
11e831bbcc switching GC from semi-space copying to mark-sweep 2020-12-31 17:48:47 +00:00
852543ee19 Added some incomplete code for process-switching 2020-10-15 12:57:05 +00:00
b9f78f7c13 working on return-from-home for non-local return 2020-10-10 17:36:33 +00:00
a69434a96f enhancing the compiler and hcl_execute() for better interactive use 2020-10-08 09:25:54 +00:00