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
340f1d8a44wip - making hcl-x code more reusablehyung-hwan2024-04-20 12:02:22 +09:00
f9bf37f8bffixed the lvalue check in the assignment list in read.c touched up fnblk handling in comp.c updated more code in hcl-x.chyung-hwan2024-04-18 23:06:28 +09:00
e0083b4453changed the binop check in the reader codehyung-hwan2024-04-17 14:33:24 +09:00
9b42b989fasimplified the logic to show the prompt in interactive mode. improved the EOF handling codehyung-hwan2024-04-17 12:20:25 +09:00
65d64f7c5fenhanced the interactive mode processing a bithyung-hwan2024-04-17 02:00:28 +09:00
658e69635alib/read.c - updated code to reset some internal data upon an error so that another call to hcl_feed() and variants don't sufferhyung-hwan2024-04-15 13:14:49 +09:00
73e3f189a8updated feed_char() to reset to the START phase upon an errorhyung-hwan2024-04-15 02:59:59 +09:00
003ebb1b94wip - more reworking on hcl server/client codehyung-hwan2024-04-15 02:23:55 +09:00
f9ee45cf41removed an unused variable from gc.chyung-hwan2024-04-13 17:22:16 +09:00
897042f7f7simplified the CLASS_LOAD instruction by chaining it with a PUSH instruction. now the class name part of the out-of-class method defintion refers to a normal variablehyung-hwan2024-04-13 17:17:15 +09:00
7001476e6dwip - changing class reference implementation in out-of-class method defintion - attempting to allow non-global names as wellhyung-hwan2024-04-13 15:15:27 +09:00
637e8ba3c4fixed the compiler's check for block expression after if, elif, else, try, catchhyung-hwan2024-04-13 00:48:23 +09:00