Commit Graph

89 Commits

Author SHA1 Message Date
8c5affe9a5 updated the tuple handling slightly
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 01:09:19 +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
7754d7c7e9 enhanced the reader to perform sanity check on a tuple in advance 2024-07-13 17:40:27 +09:00
0d5907b726 minor change in test driver 2024-07-13 13:33:20 +09:00
8f87dbe008 changed the syntax of the class-level variable declacration to use square brackets
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-09 23:44:24 +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
071d971457 added more test cases
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-01 00:11:51 +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
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
003ebb1b94 wip - more reworking on hcl server/client code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-15 02:23:55 +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
637e8ba3c4 fixed the compiler's check for block expression after if, elif, else, try, catch
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-13 00:48:23 +09:00
2437fadedf fixed the compiler to check the presense of the exception handler expression in the catch part
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-10 19:48:49 +09:00
7634df5449 added the str.atPut primitive
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-10 19:23:15 +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
a0e47d79f9 wip - tiny change to out-of-tree method defintion handling
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-16 16:36:01 +09:00
9ff7c32262 updated test cases
All checks were successful
continuous-integration/drone/push Build is passing
implementing method defintion outside the class definition block
2024-03-14 23:26:38 +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
00ad4dd779 added a test case to check a block expression as a conditional expression for if
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-09 22:48:04 +09:00
8345e2f949 enhanced the binop expression check in leave_list() in read.c
All checks were successful
continuous-integration/drone/push Build is passing
fixed the issue of the lost line terminator after the comment text which caused the next line to be treated as the same line
2024-03-09 17:10:51 +09:00
081c6d1874 added a double lambda test case
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-09 14:16:51 +09:00
49ad657544 added an internal macro HCL_LANG_AUTO_FORGE_XLIST_ALWAYS to control the xlist enclosing feature and updated related test cases
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-09 11:57:02 +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
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
cac171f4b2 enhanced configure.ac to better support fpc wrapper's linking when findng compiler's builtin libraries such as libgcc or libquadmath
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-11 13:41:32 +09:00
b86eb13fb1 implemented simple binary operator handling in the reader code
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-10 12:23:34 +09:00
00438200f9 fixed a test case regarding self and super as a return value
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-08 01:39:21 +09:00
ded917711e fixed err.sh to produce the expected line upon failure.
All checks were successful
continuous-integration/drone/push Build is passing
updated t/Makefile.am to use $(SHELL) intead of sh
2024-02-05 22:23:38 +09:00
4d5f2266b4 enhanced the test runner for errors to support multiple scripts in a single file
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-05 02:43:50 +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
c2928615a4 shortened ::* to :*
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-03 18:50:10 +09:00
2e1ae8d9ee WIP - #b[ token for byte array
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-27 19:10:56 +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
b8e0b3578b WIP - implementing b or u prefix for a string or a character literal
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-24 16:26:30 +09:00
bc7cbd9ed2 renumbers error testers basing on 5000.
All checks were successful
continuous-integration/drone/push Build is passing
fixed a compiler bug not checking the lower bound of block depth in find_variable_backward_with_word()
2024-01-23 01:11:13 +09:00
a02c323393 removed the cfg package from go code.
All checks were successful
continuous-integration/drone/push Build is passing
instead, started using -ldflags "-X var=val" to set constant values
2024-01-22 01:27:39 +09:00
e3120e20a2 fixed wrong semicolon handling and enhanced eol/semiclon handling
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-21 02:23:19 +09:00
f88c3a9c1f added a new error case. the case yet to be resolved in implementation
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-20 10:12:37 +09:00
f01c499832 added line-break escaping
All checks were successful
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
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-18 18:16:05 +08:00
656af796ed updated testers with updated syntax
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-15 00:47:01 +09:00
48a54d61c1 updated the reader to forge an outer xlist automatically if the beginning is a complex literal expression like array([]), dictionary(#{}), etc
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-14 09:48:57 +09:00
cf0162e140 := experiment
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-07 10:38:37 +09:00
9bc90c4d60 added HCL_MOD_LIBDIRS
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-05 15:01:59 +09:00
dab0c01e73 removed MLIST by LPARCOLON
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-03 21:11:23 +09:00