Commit Graph

120 Commits

Author SHA1 Message Date
f6d97f8301 let 'fun' replace 'defun' totally
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-28 11:57:56 +09:00
e337e9d48b set RDONLY on objects added to the literal frame
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-26 19:50:57 +09:00
2595e5b35d enhanced the radix check in the feed handler
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-24 22:24:31 +09:00
2abda37861 updated code to support the radixed number with 'r'
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-24 19:41:42 +09:00
4651fadcea small change to support radixed number literals
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 22:27:19 +09:00
8a277c77c0 ongoing work to support 0x, 0o, 0b
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 22:04:18 +09:00
261970a1a4 working to support 0x, 0o, 0b for numbers
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 02:33:01 +09:00
f8c84dc2f0 changing the feed handler to recognize a symbol literal without double-quotes.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-21 00:51:19 +09:00
41cf6e95ce added a test case for 'stray backslash'
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-18 22:23:30 +09:00
914d1797f3 fixed more reader problems
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-18 22:21:11 +09:00
b6e6274666 fixed various reader issues
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-18 21:41:00 +09:00
ec4a6facee added code to process the binop symbol
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-16 11:12:11 +09:00
a3e2b589be added the make_charaarray instruction and pop_into_chararray insruction
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-15 11:51:11 +09:00
f6f475df4a work in progress dropping the brand bits
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-12 18:06:12 +09:00
6e9e1d35f4 added a test on process handling.
Some checks failed
continuous-integration/drone/push Build is failing
used hcl_instantiate() in making process-related objects
2024-09-12 16:08:16 +09:00
b39bfaa181 updated code to correct the RDONLY bit behavior
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-08 15:52:32 +09:00
a5d13e17e5 updated hclgo's command line parsing a bit
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-07 12:34:17 +09:00
a62b89cea9 enhanced the reader and compiler to treat the binop expression like a message-send expression
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-03 12:18:08 +09:00
4c1a50df83 made ALIST callable in XLIST
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-01 16:28:40 +09:00
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