Commit Graph

29 Commits

Author SHA1 Message Date
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