Commit Graph

73 Commits

Author SHA1 Message Date
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
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
c219d073ca experimental gets
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-20 18:19:45 +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
0bf106532d input handling experiment
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-19 15:12:47 +09:00
35929b8c88 experimenting udi implementation
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-18 13:47:37 +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
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
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
291a999c2a cleaned up code by removing migrating unused functions
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-06 11:09:15 +09:00
70828ac110 updated the reader and the compiler to support self.var inside class definition
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-01 21:49:28 +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
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
4020a2401b some code cleanup 2022-08-03 13:56:20 +00:00
982a7c1592 fixed some type warnings 2022-05-06 05:19:02 +00:00
8747afba63 first successful implementation of class instantion methods 2022-03-17 13:22:17 +00:00
d1c12bc543 attempting to touch up the context object 2022-02-03 00:57:36 +00:00
a61f6f5f47 fixed the missing prototype defintion of hcl_instantiate() 2021-12-31 08:39:12 +00:00
cf77f8eb6f trying to implement object instantiation 2021-11-26 14:55:50 +00:00
a9abaf5623 adding va-count, va-get, va-context for handling variable arguments 2021-05-16 10:32:27 +00:00
3f1e5f297f added process termination primitives 2021-05-15 11:19:52 +00:00
c65c384d59 fixed a bug in prepare_new_context() and fork handling 2021-05-01 11:26:59 +00:00
037174ddb6 adding hcl_openstd() 2021-02-07 17:57:35 +00:00
ac58758da0 added some semaphore handling code 2021-02-05 15:22:39 +00:00
9c2f757e16 preparing to implement semaphores 2021-02-03 14:50:51 +00:00
81c9b25cad fixed some process management code 2021-02-02 23:43:12 +00:00
2d22b53c96 fixed some compiler bugs 2021-02-01 13:20:46 +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
11e831bbcc switching GC from semi-space copying to mark-sweep 2020-12-31 17:48:47 +00:00
a161944682 refactored fmt code 2019-05-31 10:54:13 +00:00
deb53399a4 introduced the new type hcl_bitmask_t 2018-04-26 04:39:20 +00:00
480fd879ee renamed quo to div and added mdiv 2018-04-08 17:56:25 +00:00
69a68e3fa4 added the 'rem' and 'mod' primitive functions 2018-04-08 17:35:21 +00:00
746dceff43 added lambda? predicate 2018-04-07 15:21:05 +00:00
54015185ab added many type checking predicates 2018-04-07 04:43:56 +00:00
726b8026b3 added the abs primitive function 2018-04-07 02:28:38 +00:00
f1871fbe45 shortened bitwise-xxxx to bit-xxxx 2018-04-05 07:11:21 +00:00
3f614517a3 added primitive functions for bitwise operations on integers 2018-04-05 04:56:52 +00:00
d5097b998a added partial sqrt function 2018-04-03 14:02:40 +00:00
0d350e9707 added hcl_mltnums() which scales the result according to the first parameter 2018-04-02 12:52:10 +00:00
dd73887115 added hcl_genums(), hcl_gtnums(), hcl_lenums(), hcl_ltnums(), hcl_eqnums(), hcl_nenums() 2018-04-02 12:28:09 +00:00
2253d09a18 implemented basic arithmetic operations for fixed-point decimals 2018-03-30 15:43:09 +00:00
116512ae9d started adding fpdec calculation functions 2018-03-28 16:40:42 +00:00
25253fc0e1 added neq? nql? nqk? for convenience over using not.
added >, >=, <, <=, =, /=
2018-03-28 03:15:20 +00:00
a60bd0c898 renamed hcl_purgeatdic() to hcl_zapatdic()
exposed hcl_moveoop() 
extended the meaning of the kernel bits in the object flags
extended hcl_pfbase_t to include the type - one of HCL_PFBASE_FUNC, HCL_PFBASE_VAR, HCL_PFBASE_CONST. HCL_PFBASE_CONST not fully implemented yet
2018-03-08 14:18:30 +00:00
e3b5d33811 implemented the builtin primitive function sprintf 2018-03-05 03:35:44 +00:00
71d024837d enhanced the compiler to implement short-circuited logical 'and' and 'or' special forms.
renamed the primitive function 'and' to '_and' and 'or' to '_or'
2018-03-03 17:16:41 +00:00
0b460a3f2a added the logf builtin function 2018-03-01 09:46:02 +00:00
6eaf73a3d7 touched up various remaining implementation details of the printf builtin function. 2018-03-01 05:25:09 +00:00