Commit Graph

135 Commits

Author SHA1 Message Date
41b36ab170 simplified variable adding routines
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-19 22:00:53 +09:00
f2479c55cd enhancing the compiler to handle 'var' in the class scope. unneeded code to be removed asap
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-19 02:31:54 +09:00
7ecb5d36ad updated the compiler to make 'do' handling more consistent with {}
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-12 13:59:23 +09:00
17550d44c5 renamed fnblk to funblk, cblk to ctlblk.
All checks were successful
continuous-integration/drone/push Build is passing
enhancing the compiler code to handle 'var' inside 'class'
2024-10-12 00:24:02 +09:00
42009d3cce enhanced compile_class_attr_list() with data table and binary search
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-07 21:46:41 +09:00
54e33f53b9 added vm code to apply the attribute list encoded in the CLASS_ENTER instruction
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-06 00:18:24 +09:00
2c89b2ae97 updated t/err.sh to show the erroneous line number
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 21:57:54 +09:00
335574dd6d updated some error messages
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 09:56:52 +00:00
3f350dd38a adding code to support class attribute list. work in progress
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 00:05:52 +09:00
6896da6870 changed the superclass marker from '::' to ':'
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-03 22:54:03 +09:00
1e97a324ec removed most of syncode stuffs 2024-10-03 21:41:59 +09:00
ed978e6f2d removed defclass 2024-10-03 17:21:08 +09:00
bcaae10bef updated compile_fun() to check attribute list after having found class_name, fun_name, arg_list 2024-10-02 19:14:10 +09:00
506b8fd9d7 removed the :* token
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-02 00:41:54 +09:00
3d0cdb5366 rewrote compile_fun() to support attribute list for a function
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-02 00:33:34 +09:00
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