Commit Graph

77 Commits

Author SHA1 Message Date
2bd510181c enhanced error handling in some object allocation functions
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-25 13:55:03 +09:00
308b39d50b change to read a line before starting to feed input in the interactive mode
All checks were successful
continuous-integration/drone/push Build is passing
fixed the union issue in go wrapper code
2024-02-22 01:21:11 +09:00
c260301db1 some improvement to the hcl command in the interactive mode
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-20 22:57:30 +09:00
dc8f0102a8 fixed the strerror_r issue arising for implementation difference
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-16 08:39:33 +09:00
9aa1bde1a1 changed hcl_geterrnum() to HCL_ERRNUM().
All checks were successful
continuous-integration/drone/push Build is passing
reintroduced hcl_geterrnum() as a function
2024-02-03 13:36:05 +09:00
d339338a40 added some pascal wrapper files
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-02 14:57:46 +09:00
ca9a6b9eb7 enhanced the main program to show prompt in the interactive mode
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-21 11:40:40 +09:00
828bdbb6b7 renamed HCL_TRAIT_LANG_NL_TERMINATOR to HCL_TRAIT_LANG_ENABLE_EOL with bug fixes
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-19 13:25:23 +09:00
b3f363c94f experimenting with a new line as a terminator like a semicolon. this breaks some test cases as of now
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-18 18:16:05 +08:00
48a54d61c1 updated the reader to forge an outer xlist automatically if the beginning is a complex literal expression like array([]), dictionary(#{}), etc
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-14 09:48:57 +09:00
9bc90c4d60 added HCL_MOD_LIBDIRS
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-05 15:01:59 +09:00
c82b56fdf6 enhanced the MLIST syntax - '(obj:message arg1 arg2)'
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-02 01:41:41 +09:00
007a6c6b48 added more code struct manipulation code
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-28 00:27:27 +09:00
ce4c583773 writing code exchange functions
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-27 09:09:40 +09:00
58d913e3da writing functions for bytecode and literal frame exchange with other vms
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-23 12:43:26 +09:00
6ba0d3b345 simple code cleanup
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-09 14:01:03 +09:00
10189e60ce cleaned up some code
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-07 23:01:17 +09:00
e6f6d33e51 enhanced the feed processor to auto-terminate auto-forged xlist without semicolon if it comes right before the right brace
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-29 17:12:21 +09:00
e91dde6213 added some error check scripts
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-27 00:08:59 +09:00
889d5d90ae compiler fix to support the code block expression
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-10 02:59:41 +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
44fd446274 switched to use fgetc() instead of fread() because fread() doesn't stop when a new line is enountered. fgets() is not a good candidate either.
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-08 00:11:43 +09:00
20ddd12c89 renamed various names
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-05 22:31:33 +09:00
94a44f1fd7 separted the IO handlers to the source code handler and user stream handlers
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-05 16:58:45 +09:00
110cb0b767 renamed some variables
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-04 13:50:18 +09:00
fe2b9456f4 updated configure.ac to capture configure command and arguments
All checks were successful
continuous-integration/drone Build is passing
> used the captured info in bin/main.c
2023-10-08 00:51:07 +09:00
206df863cf removed hcl_read() and related code 2023-10-05 14:01:32 +09:00
a5d96cc6eb added HCL_IO_WRITE_BYTES
All checks were successful
continuous-integration/drone/push Build is passing
implemented it in the print handler
2023-06-01 00:30:41 +09:00
ce47037b79 enhanced hcl_attachiostdwithbcstr() and hcl_attachiostdwithucstr()
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-19 23:25:50 +09:00
b340f09ecc extended hcl_attacio() to access a new input stream handler under the name of scanner.
renamed hcl_ioinarg_t to hcl_iosrarg_t
took back hcl_ioinarg_t for the new input stream handling
2023-05-19 12:55:08 +09:00
2bd78d2bfc added hcl_attachiostdwithucstr().
updated hcl_readbaseinraw()
2023-05-19 00:16:51 +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
cc07e0f58e renamed hcl_readchar() to chl_readbaseinchar().
changed its behavior to work on hcl->c->inarg only
fixed bugs in feed_begin_include() and feed_end_include()
fixed the bug for which the location information is not updated in reading an included file and feeding its content
2022-08-02 13:41:13 +00:00
1bf908e6ba some minor code touch-up 2022-07-31 13:17:44 +00:00
72b0da966f fixed the vlist reading in the feed-based reader 2022-07-30 03:02:57 +00:00
f3c3bfcf07 enhanced the feed_loop() in bin/main.c 2022-07-29 14:41:00 +00:00
6bcf266107 some minor code clean-up 2022-07-29 11:39:13 +00:00
e6d204c766 some more code for the feed-based reader 2022-07-29 11:29:47 +00:00
2543b0d634 coding include file handling in the feed-based reader 2022-07-28 14:07:18 +00:00
3d6abc38bd updated the feed-based reader to handle hashmarked character literals 2022-07-23 06:57:01 +00:00
65aacaaf4f some work done for the feed based reader 2022-07-22 08:02:14 +00:00
fb9e2b05ac deleted a debug message line 2022-07-18 13:59:45 +00:00
173e2e1a06 updated the main hcl main loop to start implementing the feed-based reader 2022-07-18 10:28:36 +00:00
60c9fe8ac9 implementing hcl_feed() 2022-05-25 14:23:43 +00:00
ff6f895c31 minor update of an error message 2021-12-31 06:31:57 +00:00
4a0ecfa0f1 improving the compiler code 2021-11-21 16:02:39 +00:00
b78513ad0a fixed a minor typecasting flaw 2021-07-24 15:28:59 +00:00
fe019aef1f tabulated some data in bin/main.c 2021-07-19 19:23:18 +00:00
28bac46b39 added HCL_LOG_TARGET_BCS and HCL_LOG_TARGET_UCS 2021-07-19 18:59:17 +00:00
999024e54b added hcl_compile_flag_t 2021-04-24 13:50:51 +00:00