Commit Graph

229 Commits

Author SHA1 Message Date
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
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
b5c24eb440 simplified message send a bit
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-10 23:11:25 +09:00
7d9e1b4c0c renamed #include to $include.
Some checks failed
continuous-integration/drone/push Build is failing
introduced the symbol literal
2024-09-05 01:12:20 +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
88e8471014 some binop expression stuff
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-01 02:20:22 +09:00
150e7386f8 attempting to support multi-binop expression by tranforming it to a chained single-binop expression
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-31 14:04:53 +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
8602a479d7 'do' treated as a keyword
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-23 01:07:08 +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
191c123cb6 class, fun, break, continue, until, while treated as keywords
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-22 16:06:59 +09:00
60aac191b0 changed the compiler to treat try, catch, throw as keywords
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-21 22:19: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
5ddc29dc5b added respondsTo and related functions
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-08 01:52:50 +09:00
e2864bab55 added pf_core_put
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-29 19:15:12 +09:00
bd107a172c renamed all lambdas to funs
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-20 19:15:27 +09:00
43062e4db3 removed a duplicate function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 18:52:57 +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
86ea4e7071 improved the slicing function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-01 18:57:33 +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
4ab0187260 more input stream handling code
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-19 17:09:31 +09:00
f08ba4cd12 fixed to clear inner data upon an error in the interactive mode
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-16 19:40:43 +09:00
c795b28cb8 added hcl_instantiatewithtrailer()
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-15 22:59:34 +09:00
ccbaae98a4 made a small fix over file inclusion failure handling
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-21 14:44:03 +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
e0083b4453 changed the binop check in the reader code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-17 14:33:24 +09:00
9b42b989fa simplified the logic to show the prompt in interactive mode.
All checks were successful
continuous-integration/drone/push Build is passing
improved the EOF handling code
2024-04-17 12:20:25 +09:00
65d64f7c5f enhanced the interactive mode processing a bit
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-17 02:00:28 +09:00
658e69635a lib/read.c - updated code to reset some internal data upon an error so that another call to hcl_feed() and variants don't suffer
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-15 13:14:49 +09:00
73e3f189a8 updated feed_char() to reset to the START phase upon an error
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-15 02:59:59 +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
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
d578ded2c8 update for type correctness
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-06 16:52:53 +09:00
4be0299de3 some implementation updates to the CLASS_LOAD instruction
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-04 21:16:28 +09:00
da4e895f6f wip - out-of-class method definition
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-01 01:24:00 +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
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