Commit Graph

710 Commits

Author SHA1 Message Date
9a1b20a47d enhanced the hcl server to write back an error message for input-phase errors 2018-04-12 02:22:17 +00:00
436d67b5eb improved error message handling in hcl server 2018-04-11 09:44:29 +00:00
64acfe3aec restructured client and server code into a single library libhclex.
also migrated socket related functions into the library
2018-04-10 13:57:17 +00:00
dfee95436f touched up an error message shown for an invalid hashed literal encountered whose first character after # is invalid 2018-04-10 10:10:50 +00:00
13ecb7e337 exported hcl_server_proto_feed_reply() 2018-04-10 09:17:00 +00:00
ae3745d5f3 added HCL_MOD_INCTX to hcl
added HCL_SERVER_MODULE_INCTX to hcl server
2018-04-09 15:54:54 +00:00
40aaa13e8e fixed an issue in logfmtv.h 2018-04-09 09:11:24 +00:00
62beafa4ad fixed tests in configure.ac 2018-04-09 06:24:08 +00:00
8f3191011c fixed build files again 2018-04-09 06:11:57 +00:00
16ac5fe68d fixed build files 2018-04-09 05:36:32 +00:00
e5667ca066 added some description about hcl exchange protocol 2018-04-09 03:06:52 +00:00
f73bd64bc7 fixed missing short-form reply handling in lib/main-c.c 2018-04-09 02:42:05 +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
e92407221f renamed some function names for naming consistency 2018-04-07 15:54:16 +00:00
746dceff43 added lambda? predicate 2018-04-07 15:21:05 +00:00
3d344fc649 set salit.size to 0 forcibly in get_symbol_array_literal() 2018-04-07 15:09:02 +00:00
bec9600463 fixed an error handling issue in get_symbol_array_literal() 2018-04-07 06:28:54 +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
9c23d72cec renamed some encoding functions for consistency 2018-04-06 16:33:17 +00:00
bf87a99f69 udpated README.md 2018-04-06 15:29:34 +00:00
01335db507 remove some spaces 2018-04-06 15:16:23 +00:00
69a5ef94bd changed hcl_seterrxxx() functions not to set the errnum field again for failures in internal operations, especially in hcl_convxxx() 2018-04-06 14:59:44 +00:00
8726768be2 changed hcl_seterrxxx() functions 2018-04-06 14:37:40 +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
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
46dc1968ad implemented sqrt for fixed-point decimal.
fixed a bug in getting sqrt of a negative number
2018-04-04 04:41:23 +00:00
d5097b998a added partial sqrt function 2018-04-03 14:02:40 +00:00
67c16596a8 added error messages in more places of bigint.c 2018-04-03 08:11:56 +00:00
9500b97c69 fixed a sign check bug in bigint.c 2018-04-03 07:49:46 +00:00
d4460c1b7c fixed a bug and a wrong assertion in mul_nums() 2018-04-02 12:59:37 +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
2d7fd04f25 implemented %f for sprintf 2018-04-02 08:47:50 +00:00
6ed4d2e705 added hcl_truncfpdevcal().
fixed bugs in sprintf
2018-04-01 17:09:07 +00:00
16b96e49bc made code a bit win32 friendly 2018-03-31 07:10:43 +00:00
8df5087b9d enhanced the multiplication function to truncate the resulting fixed-point decimal to the equal precision to the operands 2018-03-30 18:11:11 +00:00
e466c6b68a disallowed fixed point decimal literal with no digit after the point.
fixed a bug in hcl_divnums
2018-03-30 17:37:40 +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
3fb9b31192 fixed reply encoding in the unicode mode in the server 2018-03-29 03:08:43 +00:00
116512ae9d started adding fpdec calculation functions 2018-03-28 16:40:42 +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
25253fc0e1 added neq? nql? nqk? for convenience over using not.
added >, >=, <, <=, =, /=
2018-03-28 03:15:20 +00:00
e5fbf1967f added hcl_get_sockaddr_info() 2018-03-25 02:53:03 +00:00
0e2c892d8b enhanced server's error handling a bit 2018-03-24 06:06:01 +00:00