Commit Graph

67 Commits

Author SHA1 Message Date
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
29af1562fc wip - writing part of compile_fun() in comp.c
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-29 14:02:38 +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
b6e6274666 fixed various reader issues
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-18 21:41:00 +09:00
73cb88cfce updated the go wrapper to print compatible error messages with the main implementation
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-10 12:30:26 +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
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
f216699240 enhanced the print function to print the class name for a class
All checks were successful
continuous-integration/drone/push Build is passing
enahnced the compiler to handle class defintion better.
updated method management routines into method dictionary
2024-07-19 20:50:28 +09:00
fdbe17729e enhanced formatting functions to accept hcl as the first parameter in order to extend hcl_fmttobcstr() adn hcl_fmttoucstr() to handle %O and %J
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-14 20:52:25 +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
ac38c62b0d wip - implementing byte cci handler
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-17 09:16:44 +09:00
0455d6cdb3 let the reader check rvalue counts before converting to set or set-r
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-10 00:31:04 +09:00
dd97f3b7f6 adding special handling for binop
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-09 13:07:37 +09:00
9aa1bde1a1 changed hcl_geterrnum() to HCL_ERRNUM().
All checks were successful
continuous-integration/drone/push Build is passing
reintroduced hcl_geterrnum() as a function
2024-02-03 13:36:05 +09:00
f01c499832 added line-break escaping
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-18 22:55:50 +08:00
eb6e0484af WIP - multi-variable assigment. experimental convertion from := to set/set-r done
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-14 01:28:00 +09:00
3ea6b92b5f attempt to implement the assignment expression using :=
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-06 13:15:15 +09:00
924d4ad5e2 updating the compiler to recognize class-level variables accessors prefixed with self/super in assignment expressions
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-02 03:35:59 +09:00
3d47a99cd2 added many charcter handling code
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-22 00:24:57 +09:00
hyung-hwan
6a861d2db5 minor code clean-up
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-21 16:30:20 +09:00
889d5d90ae compiler fix to support the code block expression
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-10 02:59:41 +09:00
5a28ab3749 working on the block expression compilation
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-10 00:03:03 +09:00
38e7d85312 removed unused variables and corrected flaws in error message conversion functions
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-07 20:18:06 +09:00
df924338df internal name changes
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-04 22:58:31 +09:00
e5dc214a59 added hcl_copy_ucstr_to_bcstr(), hcl_copy_bcstr_to_ucstr(), hcl_errnum_to_errbcstr(), hcl_errnum_to_errucstr()
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-29 20:26:48 +09:00
0845e12a93 added hcl_seterrumsg() and hcl_seterrbfmt() in case the caller can't use variadic arguments
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-29 01:49:13 +09:00
893e5d4c89 add hcl_attachiostd().
moved the default io handler from bin/main.c to lib/std.c
2023-05-18 10:24:01 +09:00
cc07e0f58e renamed hcl_readchar() to chl_readbaseinchar().
changed its behavior to work on hcl->c->inarg only
fixed bugs in feed_begin_include() and feed_end_include()
fixed the bug for which the location information is not updated in reading an included file and feeding its content
2022-08-02 13:41:13 +00:00
65aacaaf4f some work done for the feed based reader 2022-07-22 08:02:14 +00:00
ff089929a9 added HCL_EUNDEFVAR 2022-05-05 04:03:56 +00:00
a7a69d9a11 implementing a message sending list 2022-01-14 16:09:52 +00:00
0fd038ddb6 utf8 range limiting.
compiler work for class variable access in the class defintion scope
2022-01-08 09:26:54 +00:00
a830d578e0 touching up variable declaration handling in a class 2022-01-03 17:59:55 +00:00
ebda2ffa0a enhanced compile_return() to handle 'return' differently in a function block containing return variables 2021-05-13 15:54:30 +00:00
faea7b60df writing code for return variables support 2021-05-11 15:04:53 +00:00
391d62511b writing code to implement return variables 2021-05-09 15:32:54 +00:00
01719d0056 enhancing the compiler to support the variable argument list with the ellipsis 2021-05-07 08:53:01 +00:00
cfa019a16d fixing code to implement exception handling 2021-04-14 16:20:18 +00:00
7d7c709591 initialized the io multiplexer properly in cb_vm_startup() 2021-02-08 09:16:53 +00:00
51e347889d the new compiler is becoming usable. but not complete yet.
added more string copy functions
2021-01-22 14:43:47 +00:00
e4ae7add8b coding a better compiler 2021-01-17 17:45:39 +00:00
656e0150a9 cleaned up code and build files 2020-11-15 10:26:14 +00:00
852543ee19 Added some incomplete code for process-switching 2020-10-15 12:57:05 +00:00
e27058d771 added the _instsize field to hcl_t, hcl_server_t, hcl_client_t 2019-06-21 12:36:25 +00:00
a161944682 refactored fmt code 2019-05-31 10:54:13 +00:00
8537f8a67f interim commit while adding vmprim.assertfail 2018-11-03 14:05:37 +00:00
7f0428d288 cleaned up some code 2018-11-02 14:15:28 +00:00
1b59610444 added hcl_getsynerrnum() and enhanced EOF handling 2018-07-28 04:08:09 +00:00
baae283222 change to print header in backtrace 2018-04-26 06:36:49 +00:00