a3e2b589beadded the make_charaarray instruction and pop_into_chararray insructionhyung-hwan2024-09-15 11:51:11 +09:00
ed33ca2196added code to support numeric named instance variableshyung-hwan2024-09-14 14:08:33 +09:00
617ab3e753changed decode_spec to honor the field info for a non-indexed spec instead of hardcoding it to HCL_OBJ_TYPE_OOPhyung-hwan2024-09-13 17:09:58 +09:00
f6f475df4awork in progress dropping the brand bitshyung-hwan2024-09-12 18:06:12 +09:00
6e9e1d35f4added a test on process handling. used hcl_instantiate() in making process-related objectshyung-hwan2024-09-12 16:08:16 +09:00
8604c6ddf1call hcl_instantiate() with hcl->c_primitive in hcl_makeprim()hyung-hwan2024-09-12 00:26:23 +09:00
150e7386f8attempting to support multi-binop expression by tranforming it to a chained single-binop expressionhyung-hwan2024-08-31 14:04:53 +09:00
e0e86d5463added a test case for mutlivariable assignment to instance variableshyung-hwan2024-08-29 19:05:21 +09:00
a93abed8a1fixed the wrong initialization of the ivaroff field of the context object in make_context()hyung-hwan2024-08-29 01:14:59 +09:00
b9997b7079fixed a bug in printing the class_XXmstore instruction executedhyung-hwan2024-08-29 00:55:32 +09:00
8597f532faupdated the reader to transform the assignment expression to set/set-r expressions. updated the compiler to handle the assignment expressionhyung-hwan2024-08-28 00:58:56 +09:00
229d3b1f29renamed return-from-home to revert treated return and revert as keywordshyung-hwan2024-08-22 18:10:41 +09:00
191c123cb6class, fun, break, continue, until, while treated as keywordshyung-hwan2024-08-22 16:06:59 +09:00
60aac191b0changed the compiler to treat try, catch, throw as keywordshyung-hwan2024-08-21 22:19:41 +09:00
32f1da7d28trying to change the compiler to treat if, elif, else as keywords added primAt, primtAtPut, HCL_SYNERR_CATCHhyung-hwan2024-08-21 01:00:29 +09:00
7252ee5e47updated the kernel class initialization to set the superclasshyung-hwan2024-07-29 15:36:07 +09:00
e4a26b71beupdated initialization of the nivars_super field of kernel classes in gc.chyung-hwan2024-07-27 16:27:43 +09:00
b040c2c05areorganized the kernel class table with the index to the superclass slot for bootstrapping of initial class chainshyung-hwan2024-07-27 01:14:51 +09:00
fb25712133removed the nivars and ncvars fields from classhyung-hwan2024-07-25 02:44:43 +09:00
dfc6ec94f4updating internal class representationhyung-hwan2024-07-23 23:50:29 +09:00
768378a940fixed the test script - insta-02.hclhyung-hwan2024-07-22 23:46:38 +09:00
0e2dfea7fbadded more test-cases for class redefintionhyung-hwan2024-07-22 18:28:21 +09:00
28c05ff903updated compiler to prohibit redefinition of a named classhyung-hwan2024-07-22 17:24:26 +09:00
22a066ce95class method lookup extended to the Class classhyung-hwan2024-07-20 00:58:55 +09:00
f216699240enhanced the print function to print the class name for a class enahnced the compiler to handle class defintion better. updated method management routines into method dictionaryhyung-hwan2024-07-19 20:50:28 +09:00
cd67f4b337preparing to handle instance/class variables in a new stylehyung-hwan2024-07-06 14:29:07 +09:00
6407d3c175removed the option HCL_TRAIT_LANG_ENABLE_BLOCK, thus removing conditional codes for simplicity. changed the compiler to require a block expression as the class bodyhyung-hwan2024-07-06 12:16:05 +09:00
0befaf0a97added the name field to the class structhyung-hwan2024-07-06 00:47:47 +09:00
75580f5235fixed the bug accessing the wrong context in IVAR and CVAR_M instructionshyung-hwan2024-05-31 15:16:31 +09:00
c25f0dabdbcompiler fix to prohibit self. or super. in out-of-class method defintion nested in a normal method in a classhyung-hwan2024-05-29 23:19:25 +09:00
b4d435a593compiler improvement to support out-of-class class method or calss instance method definitions. pending more testshyung-hwan2024-05-26 23:18:26 +09:00
fdbe17729eenhanced formatting functions to accept hcl as the first parameter in order to extend hcl_fmttobcstr() adn hcl_fmttoucstr() to handle %O and %Jhyung-hwan2024-05-14 20:52:25 +09:00