Commit Graph

643 Commits

Author SHA1 Message Date
0725bfe27a added more test code 2022-05-05 13:04:04 +00:00
ff089929a9 added HCL_EUNDEFVAR 2022-05-05 04:03:56 +00:00
c8905fc88e enhanced the do block handler to support the scoped local variables in the block 2022-05-03 14:43:12 +00:00
88808b1fae added t/insta-2.hcl 2022-03-22 14:45:56 +00:00
fa1c4ac896 added the experimental plus opcode 2022-03-21 15:38:31 +00:00
63c9adf3fc redefined block mask bits for 32-bit word platforms 2022-03-19 07:32:51 +00:00
8747afba63 first successful implementation of class instantion methods 2022-03-17 13:22:17 +00:00
4f37815caf one line of comment in lib/comp.c 2022-03-14 00:01:07 +00:00
6176361121 minor error handling enhancement 2022-03-08 17:20:46 +00:00
9f38258dd2 fixed a test case 2022-03-06 15:57:01 +00:00
a9ed8220ff added a test case for non-local return 2022-03-06 00:39:13 +00:00
e0cadd1ae6 adding ac/test-driver 2022-03-06 00:38:10 +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
3f03140dcc changed an error message 2022-02-24 17:25:15 +00:00
c446330f4a compiler enhancement in checking instance variable access in class methods 2022-02-24 17:16:02 +00:00
50c04bb770 trying to detect prohibited access to an instance vairables in a class method.
inventing the class instantiation method concept
2022-02-24 16:47:26 +00:00
6d409c809f proper return variables handling in message sends 2022-02-21 16:07:55 +00:00
e70e54293d some testsuites enhancement 2022-02-21 15:22:22 +00:00
5c7febf9a8 integrating test scripts 2022-02-21 08:15:00 +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
eefc544644 wrote some code to process class method definition 2022-02-13 02:39:37 +00:00
cdc499763e adding class_cmstore and class_imstore. deleting class_mstore 2022-02-12 15:05:31 +00:00
36aba57e4b some more code clean-up 2022-02-08 14:00:45 +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
eac89bff5c removed an annoying comma in the syncode enumerator definition 2022-02-05 17:37:06 +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
d8a23ad52c fixed %js handling in the formatting funtion 2022-01-24 07:39:43 +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
7c6511d4ad rewriting variable collection in a class 2022-01-04 15:26:17 +00:00