Commit Graph

253 Commits

Author SHA1 Message Date
ef293d35d4 updated the compiler to be more strict when it comes to the places where methods can be defined.
yet to fix test cases
2025-09-12 23:12:49 +09:00
36a10b382c troubleshotting the backtrace code 2025-09-06 01:32:41 +09:00
d8113efc28 expanded MAKE_FUNCTION and MAKE_LAMBDA to encode literal frame index to name.
expanded hak_context_t to store the name field taken from the compiled block
2025-09-05 22:41:45 +09:00
4d3172e552 some code reformatting 2025-09-05 01:16:24 +09:00
20d2db0e27 renamed hcl to hak 2025-09-02 23:58:15 +09:00
be77ac8ad2 fixed to print a character array
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-07 01:24:58 +09:00
b377e3fd97 meaningless code formatting 2025-07-02 00:18:10 +09:00
431840f77b improved the interactive input handling if isocline is available
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-27 19:17:07 +09:00
a60bcfef80 minor code fix
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-26 13:44:45 +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
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
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
f4d223f646 removed HCL_CNODE_IS_SYMBOL_PLAIN. renamed HCL_CNODE_IS_SYMBOL_PLAIN_BINOP to HCL_CNODE_IS_SYMBOL_BINOP. renamed HCL_CNODE_IS_SYMBOL_PLAIN_IDENT to HCL_CNODE_IS_SYMBOL_IDENT
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-04 00:39:41 +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
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
b108cc79e7 removed some unused code
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-28 01:47:28 +09:00
4fe4ee649f preparing to handle singals
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-27 21:06:12 +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
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