06176f4900resolved the issue that go wrapper code stores the file name path in memory allocated with C.mallochyung-hwan2024-02-24 17:32:42 +09:00
44a6cda801wip - fixing file inclusion handling in the go wrapper codehyung-hwan2024-02-24 12:57:47 +09:00
1a7d86a293better error handling in the pascal wrapperhyung-hwan2024-02-23 00:54:36 +09:00
14fbbd1f31fixed pascal wrapper bug in including a filehyung-hwan2024-02-23 00:32:17 +09:00
308b39d50bchange to read a line before starting to feed input in the interactive mode fixed the union issue in go wrapper codehyung-hwan2024-02-22 01:21:11 +09:00
c260301db1some improvement to the hcl command in the interactive modehyung-hwan2024-02-20 22:57:30 +09:00
b80bea5f73renamed Interp.Compile to Interp.CompileTexthyung-hwan2024-02-20 15:52:28 +09:00
ee152519a8converted some macros to functions - hcl_getxtn(), hcl_getcmgr(), hcl_setcmgr, hcl_getmmgr() 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 pathhyung-hwan2024-02-20 15:40:39 +09:00
d1deecb5d7added HCL_LANG_ENABLE_WIDE_DELIMI for experimenthyung-hwan2024-02-20 08:51:54 +09:00
ef3b2bd141enhanced the byte cci handler codehyung-hwan2024-02-19 20:48:14 +09:00
ca1e82816dalmost finished the byte cci handler. yet to test morehyung-hwan2024-02-18 18:21:24 +09:00
cac171f4b2enhanced configure.ac to better support fpc wrapper's linking when findng compiler's builtin libraries such as libgcc or libquadmathhyung-hwan2024-02-11 13:41:32 +09:00
b86eb13fb1implemented simple binary operator handling in the reader codehyung-hwan2024-02-10 12:23:34 +09:00
0455d6cdb3let the reader check rvalue counts before converting to set or set-rhyung-hwan2024-02-10 00:31:04 +09:00
00438200f9fixed a test case regarding self and super as a return valuehyung-hwan2024-02-08 01:39:21 +09:00
ded917711efixed err.sh to produce the expected line upon failure. updated t/Makefile.am to use $(SHELL) intead of shhyung-hwan2024-02-05 22:23:38 +09:00
4d5f2266b4enhanced the test runner for errors to support multiple scripts in a single filehyung-hwan2024-02-05 02:43:50 +09:00
aaa6e35787enhanced 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 backhyung-hwan2024-01-25 23:48:06 +09:00
b8e0b3578bWIP - implementing b or u prefix for a string or a character literalhyung-hwan2024-01-24 16:26:30 +09:00
bc7cbd9ed2renumbers error testers basing on 5000. fixed a compiler bug not checking the lower bound of block depth in find_variable_backward_with_word()hyung-hwan2024-01-23 01:11:13 +09:00
676ba7d746added GetTrait() and SetTrait() to go codehyung-hwan2024-01-22 01:38:13 +09:00
a02c323393removed the cfg package from go code. instead, started using -ldflags "-X var=val" to set constant valueshyung-hwan2024-01-22 01:27:39 +09:00
ca9a6b9eb7enhanced the main program to show prompt in the interactive modehyung-hwan2024-01-21 11:40:40 +09:00
e3120e20a2fixed wrong semicolon handling and enhanced eol/semiclon handlinghyung-hwan2024-01-21 02:23:19 +09:00
f88c3a9c1fadded a new error case. the case yet to be resolved in implementationhyung-hwan2024-01-20 10:12:37 +09:00
b35ed20c68updated the reader code to ignore EOL inside vlisthyung-hwan2024-01-20 01:17:32 +09:00
828bdbb6b7renamed HCL_TRAIT_LANG_NL_TERMINATOR to HCL_TRAIT_LANG_ENABLE_EOL with bug fixeshyung-hwan2024-01-19 13:25:23 +09:00
b3f363c94fexperimenting with a new line as a terminator like a semicolon. this breaks some test cases as of nowhyung-hwan2024-01-18 18:16:05 +08:00
656af796edupdated testers with updated syntaxhyung-hwan2024-01-15 00:47:01 +09:00
48a54d61c1updated the reader to forge an outer xlist automatically if the beginning is a complex literal expression like array([]), dictionary(#{}), etchyung-hwan2024-01-14 09:48:57 +09:00
eb6e0484afWIP - multi-variable assigment. experimental convertion from := to set/set-r donehyung-hwan2024-01-14 01:28:00 +09:00
89b5089564modified the reader to allow redundant semicolons as if blank expressions are specified. redundant semicolons form no expressions. modified the compiler to emit instructions to return the receiver for methods for classeshyung-hwan2023-12-04 22:35:30 +09:00
01fcaba626updated the compiler to compile 'class' without the class name while 'defclass' with the class namehyung-hwan2023-12-02 23:21:57 +09:00
0bf3bde497making variable resolution more consisitent. class name resolution part still in progresshyung-hwan2023-12-02 12:52:36 +09:00
924d4ad5e2updating the compiler to recognize class-level variables accessors prefixed with self/super in assignment expressionshyung-hwan2023-12-02 03:35:59 +09:00
70828ac110updated the reader and the compiler to support self.var inside class definitionhyung-hwan2023-12-01 21:49:28 +09:00
e6f6d33e51enhanced the feed processor to auto-terminate auto-forged xlist without semicolon if it comes right before the right bracehyung-hwan2023-11-29 17:12:21 +09:00
3d85965b98fixed a 128bit integer issue with va_arghyung-hwan2023-11-17 16:56:05 +09:00
01c0636206enhanced the block expression checker to allow non-block expression if not followed by another expressionhyung-hwan2023-11-15 14:35:49 +09:00
84660b6e79simplified the block expression checking in processing defun by calling the common checker functionhyung-hwan2023-11-15 09:58:02 +09:00
8085fb7725changed class handling to check for the block expression if enabledhyung-hwan2023-11-14 17:57:20 +09:00
4f8e7ae76eadded the 'fun' symbol as an alias to 'lamba'hyung-hwan2023-11-14 12:20:47 +09:00
65937937fbupdated the compiler to check the block expression after if/elif/else/while/until more properlyhyung-hwan2023-11-14 00:31:50 +09:00