Commit Graph

101 Commits

Author SHA1 Message Date
e0e86d5463 added a test case for mutlivariable assignment to instance variables
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-29 19:05:21 +09:00
8597f532fa updated the reader to transform the assignment expression to set/set-r expressions.
All checks were successful
continuous-integration/drone/push Build is passing
updated the compiler to handle the assignment expression
2024-08-28 00:58:56 +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
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
1338e88fa3 some code clean-up in bigint.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-12 02:27:07 +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
bad79feacb removed the arr module
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-02 00:34:42 +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
768378a940 fixed the test script - insta-02.hcl
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-22 23:46:38 +09:00
0e2dfea7fb added more test-cases for class redefintion
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-22 18:28:21 +09:00
28c05ff903 updated compiler to prohibit redefinition of a named class
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-22 17:24:26 +09:00
81f19004f0 updated some test cases for class
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-22 15:06:45 +09:00
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