dfc6ec94f4
updating internal class representation
continuous-integration/drone/push Build is passing
2024-07-23 23:50:29 +09:00
bd107a172c
renamed all lambdas to funs
continuous-integration/drone/push Build is passing
2024-07-20 19:15:27 +09:00
6645962163
renamed lambda to block in some places
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
...
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
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.
...
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
continuous-integration/drone/push Build is passing
2024-07-06 00:47:47 +09:00
86ea4e7071
improved the slicing function
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
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
continuous-integration/drone/push Build is passing
2024-05-26 23:18:26 +09:00
c219d073ca
experimental gets
continuous-integration/drone/push Build is passing
2024-05-20 18:19:45 +09:00
4ab0187260
more input stream handling code
continuous-integration/drone/push Build is passing
2024-05-19 17:09:31 +09:00
0bf106532d
input handling experiment
continuous-integration/drone/push Build is passing
2024-05-19 15:12:47 +09:00
35929b8c88
experimenting udi implementation
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
continuous-integration/drone/push Build is passing
2024-05-16 19:40:43 +09:00
c795b28cb8
added hcl_instantiatewithtrailer()
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
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
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
...
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
continuous-integration/drone/push Build is passing
2024-04-17 02:00:28 +09:00
59dfe8cbb7
wip - reworking hcl server/client code
continuous-integration/drone/push Build is passing
2024-04-14 18:33:15 +09:00
d578ded2c8
update for type correctness
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
continuous-integration/drone/push Build is failing
2024-04-05 10:00:58 +09:00
b91e48d2a1
added hcl_seterrbfmtloc() and hcl_seterrufmtloc()
...
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)
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
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
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
continuous-integration/drone/push Build is failing
2024-03-06 07:51:29 +09:00
7a15fbc3d1
wip - ongoing full OO support effort
continuous-integration/drone/push Build is passing
2024-03-03 22:17:14 +09:00
ec73905fc4
wip - full oop. broken code
continuous-integration/drone/push Build is failing
2024-03-02 19:29:15 +09:00
def1e7349c
first attempt in implementing full OO
continuous-integration/drone/push Build is passing
2024-03-02 14:59:27 +09:00
4afb064530
writing full oop bootstrapping code
continuous-integration/drone/push Build is passing
2024-02-26 13:34:09 +09:00
2bd510181c
enhanced error handling in some object allocation functions
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()
...
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
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
continuous-integration/drone/push Build is passing
2024-02-18 18:21:24 +09:00
20d8a81a34
wip - working on byte cci handler
continuous-integration/drone/push Build is passing
2024-02-18 10:12:56 +09:00
ac38c62b0d
wip - implementing byte cci handler
continuous-integration/drone/push Build is failing
2024-02-17 09:16:44 +09:00
bd8bf36485
touched up some error message
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
continuous-integration/drone/push Build is passing
2024-02-13 00:57:30 +09:00
f85dd54040
minor code cleanup
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
continuous-integration/drone/push Build is passing
2024-02-10 00:31:04 +09:00
dd97f3b7f6
adding special handling for binop
continuous-integration/drone/push Build is passing
2024-02-09 13:07:37 +09:00
9aa1bde1a1
changed hcl_geterrnum() to HCL_ERRNUM().
...
continuous-integration/drone/push Build is passing
reintroduced hcl_geterrnum() as a function
2024-02-03 13:36:05 +09:00
d339338a40
added some pascal wrapper files
continuous-integration/drone/push Build is passing
2024-02-02 14:57:46 +09:00
aaa6e35787
enhanced the reader and compiler to treat characters and strings prefixed with b and u as a limited range character and a byte array with internal terminating null at the back
2024-01-25 23:48:06 +09:00
828bdbb6b7
renamed HCL_TRAIT_LANG_NL_TERMINATOR to HCL_TRAIT_LANG_ENABLE_EOL with bug fixes
continuous-integration/drone/push Build is passing
2024-01-19 13:25:23 +09:00
f01c499832
added line-break escaping
continuous-integration/drone/push Build is passing
2024-01-18 22:55:50 +08:00
b3f363c94f
experimenting with a new line as a terminator like a semicolon. this breaks some test cases as of now
continuous-integration/drone/push Build is failing
2024-01-18 18:16:05 +08:00
eb6e0484af
WIP - multi-variable assigment. experimental convertion from := to set/set-r done
continuous-integration/drone/push Build is passing
2024-01-14 01:28:00 +09:00