Commit Graph

275 Commits

Author SHA1 Message Date
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
151653aaf4 changed some functions to set no error upon failure in bigint.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-10 18:00:33 +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
b806865c21 removed the str module
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-08 16:30:15 +09:00
b040c2c05a reorganized the kernel class table with the index to the superclass slot for bootstrapping of initial class chains
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-27 01:14:51 +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
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
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
6407d3c175 removed the option HCL_TRAIT_LANG_ENABLE_BLOCK, thus removing conditional codes for simplicity.
All checks were successful
continuous-integration/drone/push Build is passing
changed the compiler to require a block expression as the class body
2024-07-06 12:16:05 +09:00
0befaf0a97 added the name field to the class struct
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-06 00:47:47 +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
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
c219d073ca experimental gets
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-20 18:19:45 +09:00
4ab0187260 more input stream handling code
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-19 17:09:31 +09:00
0bf106532d input handling experiment
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-19 15:12:47 +09:00
35929b8c88 experimenting udi implementation
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-18 13:47:37 +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
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
803f9b2817 fixed the tv.wcount and tv.s.len restoration logic upon compiliation failure
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-21 02:24:27 +09:00
f9bf37f8bf fixed the lvalue check in the assignment list in read.c
All checks were successful
continuous-integration/drone/push Build is passing
touched up fnblk handling in comp.c
updated more code in hcl-x.c
2024-04-18 23:06:28 +09:00
65d64f7c5f enhanced the interactive mode processing a bit
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-17 02:00:28 +09:00
59dfe8cbb7 wip - reworking hcl server/client code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-14 18:33: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
b1d62105a5 wip - fixing bootstrapping issues related to objects and classes
Some checks failed
continuous-integration/drone/push Build is failing
2024-04-05 10:00:58 +09:00
b91e48d2a1 added hcl_seterrbfmtloc() and hcl_seterrufmtloc()
All checks were successful
continuous-integration/drone/push Build is passing
added the errloc field to hcl_t to capture the exception location
2024-04-05 01:26:02 +09:00
37e0efc74a separated tuple([] used for assignment) from array(holding data)
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-10 22:38:01 +09:00
f6f4d0f259 enhanced the reader to check lvalue for assignment in advance
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-10 12:09:56 +09:00
9cd1f90d5d wip - full oop - ignition ok - able to create bootstrapping classes. - able to instantiate objects
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-08 00:23:52 +09:00
874d0c7962 wip - full oop - added spec and selfspec to the class struct
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-06 07:51:29 +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
ec73905fc4 wip - full oop. broken code
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-02 19:29:15 +09:00
def1e7349c first attempt in implementing full OO
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-02 14:59:27 +09:00
4afb064530 writing full oop bootstrapping code
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-26 13:34:09 +09:00
2bd510181c enhanced error handling in some object allocation functions
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-25 13:55:03 +09:00
ee152519a8 converted some macros to functions - hcl_getxtn(), hcl_getcmgr(), hcl_setcmgr, hcl_getmmgr()
All checks were successful
continuous-integration/drone/push Build is passing
introduced the same macros unsing upper-case naming convention - HCL_XTN(), HCL_MMGR, HCL_CMGR()
enhanced the pascal wrapper to load an included file based on the parent path
2024-02-20 15:40:39 +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
ca1e82816d almost finished the byte cci handler. yet to test more
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-18 18:21:24 +09:00
20d8a81a34 wip - working on byte cci handler
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-18 10:12:56 +09:00
ac38c62b0d wip - implementing byte cci handler
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-17 09:16:44 +09:00
bd8bf36485 touched up some error message
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-15 00:27:19 +09:00
a4d8d8e2a5 WIP - updating pascal wrapper with its own cci handler
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-13 00:57:30 +09:00
f85dd54040 minor code cleanup
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-11 16:39:16 +09:00
0455d6cdb3 let the reader check rvalue counts before converting to set or set-r
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-10 00:31:04 +09:00
dd97f3b7f6 adding special handling for binop
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-09 13:07:37 +09:00
9aa1bde1a1 changed hcl_geterrnum() to HCL_ERRNUM().
All checks were successful
continuous-integration/drone/push Build is passing
reintroduced hcl_geterrnum() as a function
2024-02-03 13:36:05 +09:00