Commit Graph

288 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
1dedee9ae3 instanation the bxxx literal as ByteString. no more ByteArray
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-07 00:39:46 +09:00
7d9e1b4c0c renamed #include to $include.
Some checks failed
continuous-integration/drone/push Build is failing
introduced the symbol literal
2024-09-05 01:12:20 +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
4c1a50df83 made ALIST callable in XLIST
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-01 16:28:40 +09:00
8597f532fa updated the reader to transform the assignment expression to set/set-r expressions.
All checks were successful
continuous-integration/drone/push Build is passing
updated the compiler to handle the assignment expression
2024-08-28 00:58:56 +09:00
8602a479d7 'do' treated as a keyword
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-23 01:07:08 +09:00
229d3b1f29 renamed return-from-home to revert
All checks were successful
continuous-integration/drone/push Build is passing
treated return and revert as keywords
2024-08-22 18:10:41 +09:00
191c123cb6 class, fun, break, continue, until, while treated as keywords
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-22 16:06:59 +09:00
60aac191b0 changed the compiler to treat try, catch, throw as keywords
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-21 22:19:41 +09:00
32f1da7d28 trying to change the compiler to treat if, elif, else as keywords
All checks were successful
continuous-integration/drone/push Build is passing
added primAt, primtAtPut, HCL_SYNERR_CATCH
2024-08-21 01:00: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
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
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
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
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