3d47a99cd2
added many charcter handling code
continuous-integration/drone/push Build is failing
2023-11-22 00:24:57 +09:00
5a28ab3749
working on the block expression compilation
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
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
09302470f7
enhanced hcl_inttostr() to accept a negative radix to produce lower-case alphabetic digits
2018-02-28 15:57:19 +00:00
ffa6c39852
fixed a bug in printing a single character when hcl_ooch_t is hcl_bch_t
...
implemented the primitive printf function partially
2018-02-28 10:17:05 +00:00
701554af0d
fixed a wrong index used when getting the mod pointer into/from the prim object
2018-02-28 05:04:42 +00:00
c865de4d61
changed the prototype of hcl_pfimpl_t to accept a hcl_mod_t* pointer
2018-02-28 04:52:01 +00:00
eaf7f9243d
changed types of some variables from hcl_oow_t to hcl_ooi_t
...
attempted to add the builtin printf function
2018-02-26 15:52:15 +00:00
ef51ee4a1d
enhanced the logfmtv to handle encoding conversion of the format string
2018-02-26 15:24:45 +00:00
7e6b16e153
work in progress to implement the builtin printf function
2018-02-24 04:01:19 +00:00
9498530691
enhanced HCL_BRANDOF() to avoid multiple comparisons.
...
added the eqk? builtin primitive
removed unnecessary lines
2018-02-23 07:17:23 +00:00
6e4a8f6081
enhanced pf_log to print a character without quotes.
...
fixed formatting specifiers in log_char_object() in prim.c
2018-02-21 13:13:25 +00:00
edea84bd46
added the gc builtin function
2018-02-18 15:02:57 +00:00
270a762e32
added some builtin modules, but without many functions in them
2018-02-15 15:36:15 +00:00