Commit Graph

831 Commits

Author SHA1 Message Date
e2864bab55 added pf_core_put
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-29 19:15:12 +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
768378a940 fixed the test script - insta-02.hcl
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-22 23:46:38 +09:00
0e2dfea7fb added more test-cases for class redefintion
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-22 18:28:21 +09:00
28c05ff903 updated compiler to prohibit redefinition of a named class
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-22 17:24:26 +09:00
2d120f0d0e removed some unneeded code
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-22 16:11:06 +09:00
81f19004f0 updated some test cases for class
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-22 15:06:45 +09:00
266b3a34d5 minor comment change
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-21 02:11:37 +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
6645962163 renamed lambda to block in some places
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-20 18:18:47 +09:00
55d7fa0ef7 updated method lookup
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-20 10:17:12 +09:00
22a066ce95 class method lookup extended to the Class class
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-20 00:58:55 +09:00
f216699240 enhanced the print function to print the class name for a class
All checks were successful
continuous-integration/drone/push Build is passing
enahnced the compiler to handle class defintion better.
updated method management routines into method dictionary
2024-07-19 20:50:28 +09:00
91e1e8c9c3 added core.class_name module function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-16 00:15:28 +09:00
81070919d7 fixed the issue caused in the previous comming regarding class name handling
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 23:47:51 +09:00
e1de4624fd broken code - trying to put the name field to class
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-15 19:37:26 +09:00
43062e4db3 removed a duplicate function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 18:52:57 +09:00
8c5affe9a5 updated the tuple handling slightly
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 01:09:19 +09:00
57d9668110 reader improvement to filter out binop from a tuple
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 01:02:07 +09:00
7754d7c7e9 enhanced the reader to perform sanity check on a tuple in advance 2024-07-13 17:40:27 +09:00
0d5907b726 minor change in test driver 2024-07-13 13:33:20 +09:00
8f87dbe008 changed the syntax of the class-level variable declacration to use square brackets
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-09 23:44:24 +09:00
e91c9da9d4 wip - class/instance variable declaration parser
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-08 23:19:37 +09:00
c4320ac147 wip - change class/instance variable declaration parser
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-08 19:54:16 +09:00
cd67f4b337 preparing to handle instance/class variables in a new style
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-06 14:29:07 +09:00
6407d3c175 removed the option HCL_TRAIT_LANG_ENABLE_BLOCK, thus removing conditional codes for simplicity.
All checks were successful
continuous-integration/drone/push Build is passing
changed the compiler to require a block expression as the class body
2024-07-06 12:16:05 +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
36b83c63e7 adding some hcl code
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-05 00:53:37 +09:00
86ea4e7071 improved the slicing function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-01 18:57:33 +09:00
7007d9add0 adding some primitive functions
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-29 16:19:25 +09:00
f4456dde2e added the substr function
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-24 19:08:34 +09:00
8309f057b3 moved the proprocessor capability check up the file
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-21 23:59:48 +09:00
071d971457 added more test cases
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-01 00:11:51 +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
c25f0dabdb compiler fix to prohibit self. or super. in out-of-class method defintion nested in a normal method in a class
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-29 23:19:25 +09:00
b4d435a593 compiler improvement to support out-of-class class method or calss instance method definitions. pending more tests
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-26 23:18:26 +09:00
c219d073ca experimental gets
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-20 18:19:45 +09:00
4ab0187260 more input stream handling code
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-19 17:09:31 +09:00
0bf106532d input handling experiment
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-19 15:12:47 +09:00
35929b8c88 experimenting udi implementation
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-18 13:47:37 +09:00
f08ba4cd12 fixed to clear inner data upon an error in the interactive mode
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-16 19:40:43 +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
47e0604b03 reorganized some files
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-14 21:14:39 +09:00
fdbe17729e enhanced formatting functions to accept hcl as the first parameter in order to extend hcl_fmttobcstr() adn hcl_fmttoucstr() to handle %O and %J
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-14 20:52:25 +09:00
320a3f2d56 wip - fixing code in x-client.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-11 17:22:54 +09:00
5ae3cb1eba wip - x-client
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-11 14:16:22 +09:00