Commit Graph

841 Commits

Author SHA1 Message Date
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
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
ed978e6f2d removed defclass 2024-10-03 17:21:08 +09:00
bcaae10bef updated compile_fun() to check attribute list after having found class_name, fun_name, arg_list 2024-10-02 19:14:10 +09:00
506b8fd9d7 removed the :* token
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-02 00:41:54 +09:00
3d0cdb5366 rewrote compile_fun() to support attribute list for a function
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-02 00:33:34 +09:00
29af1562fc wip - writing part of compile_fun() in comp.c
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-29 14:02:38 +09:00
5be537b16d wip - added some code to rewrite compile_fun()
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-28 14:45:15 +09:00
f6d97f8301 let 'fun' replace 'defun' totally
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-28 11:57:56 +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
4fe4ee649f preparing to handle singals
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-27 21:06:12 +09:00
e337e9d48b set RDONLY on objects added to the literal frame
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-26 19:50:57 +09:00
c9a96e02f7 updated the same literal check in hcl_addliteraltocode()
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-25 00:40:46 +09:00
2595e5b35d enhanced the radix check in the feed handler
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-24 22:24:31 +09:00
568166b4e2 minor code change for type consisitency
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 20:31:11 +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
4651fadcea small change to support radixed number literals
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 22:27:19 +09:00
8a277c77c0 ongoing work to support 0x, 0o, 0b
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 22:04:18 +09:00
261970a1a4 working to support 0x, 0o, 0b for numbers
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 02:33:01 +09:00
f8c84dc2f0 changing the feed handler to recognize a symbol literal without double-quotes.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-21 00:51:19 +09:00
3e6cfccb3b touched up bigint.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-20 12:00:18 +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
914d1797f3 fixed more reader problems
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-18 22:21:11 +09:00
b6e6274666 fixed various reader issues
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-18 21:41:00 +09:00
ec4a6facee added code to process the binop symbol
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-16 11:12:11 +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
617ab3e753 changed decode_spec to honor the field info for a non-indexed spec instead of hardcoding it to HCL_OBJ_TYPE_OOP
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-13 17:09:58 +09:00