Commit Graph

245 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
dfc6ec94f4 updating internal class representation
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-23 23:50:29 +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
43062e4db3 removed a duplicate function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 18:52:57 +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
86ea4e7071 improved the slicing function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-01 18:57:33 +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
c795b28cb8 added hcl_instantiatewithtrailer()
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-15 22:59:34 +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
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
d578ded2c8 update for type correctness
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-06 16:52:53 +09:00
50bf4a1c0c added hcl_makesymbolwithucstr()
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-06 16:21:31 +09:00
da4e895f6f wip - out-of-class method definition
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-01 01:24:00 +09:00
816b6d54f4 wip - class_load instruction for out-of-class method definition
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-16 17:00:34 +09:00
7a15fbc3d1 wip - ongoing full OO support effort
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-03 22:17:14 +09:00
ef3b2bd141 enhanced the byte cci handler code
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-19 20:48:14 +09:00
d99a514278 WIP - introducing the BINOP token
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-04 21:35:31 +09:00
48e6df233b changed ::: to :: to indicate class variables, parent class, retvar
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-04 01:57:53 +09:00
b20d6b14d8 not yet used. but added :< and :>
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-03 18:59:17 +09:00