Commit Graph

945 Commits

Author SHA1 Message Date
ef293d35d4 updated the compiler to be more strict when it comes to the places where methods can be defined.
yet to fix test cases
2025-09-12 23:12:49 +09:00
fe18991a4e minor code fixes 2025-09-08 10:16:43 +09:00
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
ad510b1436 fixed wrong spec decoding in core.basicAt and core.basicAtPut functions 2025-09-03 23:08:20 +09:00
e64b7c495b added the mascot file 2025-09-03 00:25:43 +09:00
20d2db0e27 renamed hcl to hak 2025-09-02 23:58:15 +09:00
be77ac8ad2 fixed to print a character array
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-07 01:24:58 +09:00
2ef2273f11 added files left behind
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-06 12:42:36 +09:00
f7ff1605d0 added hcl_inttouintmax_noseterr() and hcl_inttointmax_noseterr()
Some checks failed
continuous-integration/drone/push Build is failing
2025-08-05 22:36:08 +09:00
f9970e1bb7 updated .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
2025-08-05 18:22:38 +09:00
d2e6c28703 fixed portability issues in bigint.c
Some checks failed
continuous-integration/drone/push Build is failing
2025-08-05 13:30:33 +09:00
59aac006a6 enhanced xma 2025-07-16 23:19:47 +09:00
b377e3fd97 meaningless code formatting 2025-07-02 00:18:10 +09:00
af13a3363c added some more statistics in xma 2025-06-15 17:23:23 +09:00
02748cd24d added hcl_json_feeduchars() and hcl_json_feedbchars() 2025-06-09 08:07:03 +09:00
87fd48b713 bundled isocline 2024-12-22 22:06:32 +09:00
431840f77b improved the interactive input handling if isocline is available
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-27 19:17:07 +09:00
a60bcfef80 minor code fix
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-26 13:44:45 +09:00
7409f9a2a3 include hcl-str.h from utl.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-22 20:23:11 +09:00
793c6a5d43 adding some class definitions
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-21 23:56:58 +09:00
9fd31c9c52 fixed a bug of not setting the exception variable position in compile_catch()
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-21 01:19:53 +09:00
a2b840f41d updated add_class_level_variable() for better duplicate check
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-20 20:12:31 +09:00
d2b3cc9f71 enhanced the compiler logic to handle the class-level variales
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-20 17:37:51 +09:00
9b3b2d1e5b enhanced the variable buffer handling by not adding 'space' for the first variable
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-19 22:36:15 +09:00
41b36ab170 simplified variable adding routines
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-19 22:00:53 +09:00
001472fe4f removed some unneeded code holding class-level variables
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-19 14:15:18 +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
3c88ada3bf removed a wrong header file entry from lib/Makefile.am
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-15 19:40:26 +09:00
169c626819 split some common files
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-15 16:36:25 +09:00
955b734a79 split string fucntions to separate files str.c and hcl-str.h
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-14 18:57:10 +09:00
7ecb5d36ad updated the compiler to make 'do' handling more consistent with {}
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-12 13:59:23 +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
86d9a137c8 trying to verify class attribute list implementation - still not complete
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-07 01:42:40 +09:00
20bdc0d52d minor code touch-up
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-06 21:28:30 +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
2c89b2ae97 updated t/err.sh to show the erroneous line number
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 21:57:54 +09:00
335574dd6d updated some error messages
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 09:56:52 +00:00
e6dd0f06a4 change to a single byte to encoded class attribute
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 13:47:27 +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
f4d223f646 removed HCL_CNODE_IS_SYMBOL_PLAIN. renamed HCL_CNODE_IS_SYMBOL_PLAIN_BINOP to HCL_CNODE_IS_SYMBOL_BINOP. renamed HCL_CNODE_IS_SYMBOL_PLAIN_IDENT to HCL_CNODE_IS_SYMBOL_IDENT
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-04 00:39:41 +09:00
6896da6870 changed the superclass marker from '::' to ':'
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-03 22:54:03 +09:00
0dbaa264f7 renamed the remaing SYNCODE stuffs to CONCODE something 2024-10-03 21:52:32 +09:00
1e97a324ec removed most of syncode stuffs 2024-10-03 21:41:59 +09:00