Commit Graph

163 Commits

Author SHA1 Message Date
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
b91e48d2a1 added hcl_seterrbfmtloc() and hcl_seterrufmtloc()
All checks were successful
continuous-integration/drone/push Build is passing
added the errloc field to hcl_t to capture the exception location
2024-04-05 01:26:02 +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
e7b778e999 updated code for HCL_CODE_CLASS_LOAD
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-30 18:46:18 +09:00
816b6d54f4 wip - class_load instruction for out-of-class method definition
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-16 17:00:34 +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
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
9aa1bde1a1 changed hcl_geterrnum() to HCL_ERRNUM().
All checks were successful
continuous-integration/drone/push Build is passing
reintroduced hcl_geterrnum() as a function
2024-02-03 13:36:05 +09:00
2243a1357d added HCL_IO_READ_BYTES
Some checks failed
continuous-integration/drone/push Build is failing
added hcl_htonoow/hcl_ntohoow and the like
2023-12-16 00:31:50 +09:00
af3abee6ca preparing to flatten byte code structure
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-06 17:19:57 +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
hyung-hwan
6a861d2db5 minor code clean-up
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-21 16:30:20 +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
982a7c1592 fixed some type warnings 2022-05-06 05:19:02 +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
8747afba63 first successful implementation of class instantion methods 2022-03-17 13:22:17 +00:00
6176361121 minor error handling enhancement 2022-03-08 17:20:46 +00:00
c753643daf changed the implementation of return-from-home to traverse the call chain and detect dead context more accurately 2022-03-04 18:08:26 +00:00
fb46b058d7 making return-from-home more rewind friendly 2022-02-28 16:08:44 +00:00
f4661d018a fixing bugs related to stack, class stack, exceptio stack handling 2022-02-27 19:35:47 +00:00
6d409c809f proper return variables handling in message sends 2022-02-21 16:07:55 +00:00
f0b6ccdf42 enhanced the compiler to emit the right instruction for super 2022-02-19 17:26:26 +00:00
e482ce620f fixed wrong instructions generated for set-r and return variables.
class variables access fixed to use hcl->active_context->home->owner instead of hcl->active_context->owner
2022-02-19 16:57:06 +00:00
026ece9aea added the super keyword 2022-02-18 16:32:19 +00:00
420d38c8be simplified the class variable access by remembering the method owner class in context objects 2022-02-17 12:40:22 +00:00
fcfbec6647 meaningless interim commit 2022-02-14 01:21:01 +00:00
4b4e6a6385 added a class-side dictionary to the class object 2022-02-13 10:15:14 +00:00
cdc499763e adding class_cmstore and class_imstore. deleting class_mstore 2022-02-12 15:05:31 +00:00
a61197d3f7 some code clean-up 2022-02-08 13:57:48 +00:00
78543920f5 fixed some type warnings 2022-02-08 12:01:57 +00:00
2c2cfc99bb changed the object instantiation function to add up the instance variables counts of the superclass chain 2022-02-07 15:13:38 +00:00
ef24bf68df implementing instance variable access with regards to inheritance 2022-02-06 16:06:48 +00:00
495cea5704 added a new identifier - self 2022-02-05 17:35:10 +00:00
d1c12bc543 attempting to touch up the context object 2022-02-03 00:57:36 +00:00
5ded15d06a more code for message sending 2022-01-31 04:38:05 +00:00
72ed203f80 renamed class_set to class_mstore 2022-01-31 01:36:59 +00:00
84e53e3459 adding the class_set instruction 2022-01-29 17:43:11 +00:00
a89b83a6fd writing message sending implementation code 2022-01-29 09:58:52 +00:00
d72baec0a9 more code added for message sending implementation 2022-01-25 07:54:11 +00:00
e94936b893 some code for message sending 2022-01-24 15:39:49 +00:00
6cdbc457a0 implementing message sending 2022-01-23 16:46:13 +00:00
7ad9b2d499 rearranged the stack for the call operation by pushing a dummy receiver.
the rearrangement is done to make aa plain function call look the same as a message send
2022-01-22 15:40:38 +00:00
a7a69d9a11 implementing a message sending list 2022-01-14 16:09:52 +00:00
bdf527f298 writing the compiler code for class variable handling 2022-01-09 16:47:38 +00:00
0fd038ddb6 utf8 range limiting.
compiler work for class variable access in the class defintion scope
2022-01-08 09:26:54 +00:00
57bb1657b3 added new instructions - push_clsvar, store_into_clsvar, pop_into_clsvar 2022-01-01 14:58:57 +00:00
447fafd7b2 fixed a wrong compiler check in the post_catch() phase 2021-12-26 14:59:34 +00:00
afeebc08c9 fixed process stack handling 2021-12-25 15:33:49 +00:00
d2e6f94b33 enhanced try_exit and try_exit2 to restore the class stack pointer 2021-12-24 14:59:16 +00:00