Commit Graph

48 Commits

Author SHA1 Message Date
f19b971645 removed unneeded reader code.
All checks were successful
continuous-integration/drone/push Build is passing
changed { to #{ as a dictionary opener. { will be used as a block opener
2023-10-23 18:50:44 +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
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
5b26ef46b1 some code for class instantiation 2021-05-21 16:21:23 +00:00
03cb4c67fb implementing make_class instructoin 2021-05-21 09:59:35 +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
75ecff7aca removed unneeded code 2021-01-03 17:58:57 +00:00
852543ee19 Added some incomplete code for process-switching 2020-10-15 12:57:05 +00:00
d127456da8 added hcl_block_t to express a base block. no more reuse of hcl_context_t for the base block 2020-10-09 07:14:32 +00:00
e30cbc844c writing code for function activation using function-local literal frame 2020-10-05 09:37:26 +00:00
a161944682 refactored fmt code 2019-05-31 10:54:13 +00:00
9045220ef8 changed hcl_inttostr()
touched up log output and formatted output functions
2019-04-16 15:46:00 +00:00
9a186711e4 dropped cli-mode code. it turned out to be not effective 2018-08-08 03:41:17 +00:00
28cc69ea21 wrote more compiler mode to handle input in the cli mode 2018-08-07 11:04:38 +00:00
deb53399a4 introduced the new type hcl_bitmask_t 2018-04-26 04:39:20 +00:00
4ff11f147c changed notation from #{} to #() 2018-04-06 14:21:47 +00:00
913883f31a fixed an issume of producing a wrong closing bracket for a dictionary objecT 2018-04-06 08:55:23 +00:00
e41a02b957 changed hcl to be more json friendly including changing various notations and grammars 2018-04-06 08:33:25 +00:00
2253d09a18 implemented basic arithmetic operations for fixed-point decimals 2018-03-30 15:43:09 +00:00
dae10ef59c fixed an escaping problem in printing a character or a string object 2018-03-29 04:47:03 +00:00
3a30ffda7b implemented reading and printing of fixed-point decimal number. primitives yet to be written 2018-03-28 08:57:49 +00:00
2c1b4448be changed the notatin of an error literal from #\eNNN to #eNNN.
changed the notation of a smptr literal from #\pXXXX to #pXXXX
2018-03-05 03:47:18 +00:00
5aee382e9e fixed the wrong word output for #nil in the json format 2018-03-02 07:58:37 +00:00
60a32bf642 added HCL_LOG_PREFER_JSON and implemented %J 2018-03-02 07:44:13 +00:00
e58d4e30cc fixed a bug printing %% in print_formatted.
changed to use #x #o #b for hexadecimal, octal, binary output
2018-03-01 08:56:56 +00:00
6eaf73a3d7 touched up various remaining implementation details of the printf builtin function. 2018-03-01 05:25:09 +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
ef51ee4a1d enhanced the logfmtv to handle encoding conversion of the format string 2018-02-26 15:24:45 +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
a78dba499f changed the reader to use a stack of 4-item arrays instead of chains of 3 cons cells
cleaned up some unused code
2018-02-22 10:02:39 +00:00
14b3013c79 fixed the premature termination issue in logfmtv 2018-02-21 08:48:47 +00:00
7a47ba6369 cleaned up code a bit 2018-02-21 07:38:59 +00:00
22127d384f added some error checks for error literals and smptr literals 2018-02-17 16:01:27 +00:00
de0715e302 implemented the single quote character literal.
added the error literal and the smptr literal notations and types
2018-02-17 15:42:12 +00:00
2a0551df2d enhanced hcl_inttostr() to keep results in the temporary buffer when ngc is negative.
changed the integer printing function to utilize this change in print.c
2018-02-15 08:05:48 +00:00
f802bec44a integrated bigint
cleaned up code
2018-02-13 16:10:41 +00:00
2201ee5a94 added hcl_walkdic
fixed a bug of not printing the list closer properly in hcl_print().
enhanced error handling
2018-02-12 16:51:38 +00:00
e54096f2a0 changed copyright years 2018-02-07 14:13:13 +00:00
f904914d6a implemented dictionary printing 2018-02-07 10:55:20 +00:00
7826f0ff06 changed the reader to handle #(), #[], #{}, '() specially 2018-02-06 10:16:01 +00:00
380784cf57 added printing routines 2018-02-05 15:59:32 +00:00
293222d5c5 trying to revive this project 2018-02-05 10:43:25 +00:00
36cdf2e062 refactored comp.c a bit 2016-10-08 17:22:48 +00:00
15208b5e85 added some code to handle primitives and the call instruction 2016-10-06 17:49:47 +00:00
badf66c9d4 added some code for executing byte codes 2016-10-04 17:56:28 +00:00
bdfc72d48d added some code to handle local variable declaration 2016-10-01 04:36:48 +00:00
94e690004d added initial hcl files 2016-09-28 14:40:37 +00:00