213 Commits

Author SHA1 Message Date
b427a5a7b6 enhanced backtrace to show the main source file name 2025-09-06 17:02:44 +09:00
d562ebfcb9 enhanced the backtrace output loop 2025-09-06 14:32:13 +09:00
36a10b382c troubleshotting the backtrace code 2025-09-06 01:32:41 +09:00
d8113efc28 expanded MAKE_FUNCTION and MAKE_LAMBDA to encode literal frame index to name.
expanded hak_context_t to store the name field taken from the compiled block
2025-09-05 22:41:45 +09:00
313d1f9800 simple code reformatting 2025-09-05 10:52:02 +09:00
4d3172e552 some code reformatting 2025-09-05 01:16:24 +09:00
20d2db0e27 renamed hcl to hak 2025-09-02 23:58:15 +09:00
0b65671adb put back two assertions in exec.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-19 02:54:07 +09:00
f2479c55cd enhancing the compiler to handle 'var' in the class scope. unneeded code to be removed asap
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-19 02:31:54 +09:00
17550d44c5 renamed fnblk to funblk, cblk to ctlblk.
All checks were successful
continuous-integration/drone/push Build is passing
enhancing the compiler code to handle 'var' inside 'class'
2024-10-12 00:24:02 +09:00
42009d3cce enhanced compile_class_attr_list() with data table and binary search
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-07 21:46:41 +09:00
54e33f53b9 added vm code to apply the attribute list encoded in the CLASS_ENTER instruction
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-06 00:18:24 +09:00
3f350dd38a adding code to support class attribute list. work in progress
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 00:05:52 +09:00
ed978e6f2d removed defclass 2024-10-03 17:21:08 +09:00
b108cc79e7 removed some unused code
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-28 01:47:28 +09:00
2abda37861 updated code to support the radixed number with 'r'
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-24 19:41:42 +09:00
e81bcbab61 removed the brand field from the object header
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-20 03:14:48 +09:00
a3e2b589be added the make_charaarray instruction and pop_into_chararray insruction
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-15 11:51:11 +09:00
ed33ca2196 added code to support numeric named instance variables
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-14 14:08:33 +09:00
f6f475df4a work in progress dropping the brand bits
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-12 18:06:12 +09:00
6e9e1d35f4 added a test on process handling.
Some checks failed
continuous-integration/drone/push Build is failing
used hcl_instantiate() in making process-related objects
2024-09-12 16:08:16 +09:00
8604c6ddf1 call hcl_instantiate() with hcl->c_primitive in hcl_makeprim()
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-12 00:26:23 +09:00
b5c24eb440 simplified message send a bit
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-10 23:11:25 +09:00
b39bfaa181 updated code to correct the RDONLY bit behavior
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-08 15:52:32 +09:00
a62b89cea9 enhanced the reader and compiler to treat the binop expression like a message-send expression
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-03 12:18:08 +09:00
a93abed8a1 fixed the wrong initialization of the ivaroff field of the context object in make_context()
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-29 01:14:59 +09:00
b9997b7079 fixed a bug in printing the class_XXmstore instruction executed 2024-08-29 00:55:32 +09:00
17cde13cbb added the flexi object bit
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-10 14:42:21 +09:00
5ddc29dc5b added respondsTo and related functions
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-08 01:52:50 +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
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
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
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
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
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
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
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
759c7a029b removed some unused code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-20 21:57:05 +09:00
897042f7f7 simplified 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 variable
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-13 17:17:15 +09:00
7001476e6d wip - changing class reference implementation in out-of-class method defintion - attempting to allow non-global names as well
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-13 15:15:27 +09:00
7634df5449 added the str.atPut primitive
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-10 19:23:15 +09:00
d578ded2c8 update for type correctness
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-06 16:52:53 +09:00