aaa6e35787
enhanced the reader and compiler to treat characters and strings prefixed with b and u as a limited range character and a byte array with internal terminating null at the back
2024-01-25 23:48:06 +09:00
828bdbb6b7
renamed HCL_TRAIT_LANG_NL_TERMINATOR to HCL_TRAIT_LANG_ENABLE_EOL with bug fixes
continuous-integration/drone/push Build is passing
2024-01-19 13:25:23 +09:00
f01c499832
added line-break escaping
continuous-integration/drone/push Build is passing
2024-01-18 22:55:50 +08:00
b3f363c94f
experimenting with a new line as a terminator like a semicolon. this breaks some test cases as of now
continuous-integration/drone/push Build is failing
2024-01-18 18:16:05 +08:00
eb6e0484af
WIP - multi-variable assigment. experimental convertion from := to set/set-r done
continuous-integration/drone/push Build is passing
2024-01-14 01:28:00 +09:00
3ea6b92b5f
attempt to implement the assignment expression using :=
continuous-integration/drone/push Build is failing
2024-01-06 13:15:15 +09:00
9bc90c4d60
added HCL_MOD_LIBDIRS
continuous-integration/drone/push Build is passing
2024-01-05 15:01:59 +09:00
c82b56fdf6
enhanced the MLIST syntax - '(obj:message arg1 arg2)'
continuous-integration/drone/push Build is failing
2024-01-02 01:41:41 +09:00
caebe2c5a9
added hcl_unmarshalcodefrommem() and hcl_marshalcodetomem()
continuous-integration/drone/push Build is failing
2023-12-30 22:28:04 +09:00
007a6c6b48
added more code struct manipulation code
continuous-integration/drone/push Build is failing
2023-12-28 00:27:27 +09:00
ce4c583773
writing code exchange functions
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
continuous-integration/drone/push Build is failing
2023-12-23 12:43:26 +09:00
2243a1357d
added HCL_IO_READ_BYTES
...
continuous-integration/drone/push Build is failing
added hcl_htonoow/hcl_ntohoow and the like
2023-12-16 00:31:50 +09:00
10189e60ce
cleaned up some code
continuous-integration/drone/push Build is failing
2023-12-07 23:01:17 +09:00
af3abee6ca
preparing to flatten byte code structure
continuous-integration/drone/push Build is failing
2023-12-06 17:19:57 +09:00
0bf3bde497
making variable resolution more consisitent. class name resolution part still in progress
continuous-integration/drone/push Build is failing
2023-12-02 12:52:36 +09:00
924d4ad5e2
updating the compiler to recognize class-level variables accessors prefixed with self/super in assignment expressions
continuous-integration/drone/push Build is failing
2023-12-02 03:35:59 +09:00
e91dde6213
added some error check scripts
continuous-integration/drone/push Build is failing
2023-11-27 00:08:59 +09:00
3d47a99cd2
added many charcter handling code
continuous-integration/drone/push Build is failing
2023-11-22 00:24:57 +09:00
hyung-hwan
6a861d2db5
minor code clean-up
continuous-integration/drone/push Build is failing
2023-11-21 16:30:20 +09:00
4f8e7ae76e
added the 'fun' symbol as an alias to 'lamba'
continuous-integration/drone/push Build is failing
2023-11-14 12:20:47 +09:00
5a28ab3749
working on the block expression compilation
continuous-integration/drone/push Build is failing
2023-11-10 00:03:03 +09:00
984c1f62a9
added the semicolon as a token and a delimiter
continuous-integration/drone/push Build is passing
2023-11-07 19:47:37 +09:00
20ddd12c89
renamed various names
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
continuous-integration/drone/push Build is passing
2023-11-05 16:58:45 +09:00
bcfe69feda
yet another round of internal name changes
continuous-integration/drone/push Build is passing
2023-11-04 23:23:20 +09:00
238365e198
another round of internal name changes
2023-11-04 23:13:52 +09:00
df924338df
internal name changes
continuous-integration/drone/push Build is passing
2023-11-04 22:58:31 +09:00
428f67f25c
added hcl_feedbchars()/hcl_feeduchars()
continuous-integration/drone/push Build is passing
2023-11-03 18:04:46 +09:00
e5dc214a59
added hcl_copy_ucstr_to_bcstr(), hcl_copy_bcstr_to_ucstr(), hcl_errnum_to_errbcstr(), hcl_errnum_to_errucstr()
continuous-integration/drone/push Build is passing
2023-10-29 20:26:48 +09:00
206df863cf
removed hcl_read() and related code
2023-10-05 14:01:32 +09:00
a5d96cc6eb
added HCL_IO_WRITE_BYTES
...
continuous-integration/drone/push Build is passing
implemented it in the print handler
2023-06-01 00:30:41 +09:00
0845e12a93
added hcl_seterrumsg() and hcl_seterrbfmt() in case the caller can't use variadic arguments
continuous-integration/drone/push Build is passing
2023-05-29 01:49:13 +09:00
ce47037b79
enhanced hcl_attachiostdwithbcstr() and hcl_attachiostdwithucstr()
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
f3c3bfcf07
enhanced the feed_loop() in bin/main.c
2022-07-29 14:41:00 +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
65aacaaf4f
some work done for the feed based reader
2022-07-22 08:02:14 +00:00
60c9fe8ac9
implementing hcl_feed()
2022-05-25 14:23:43 +00:00
ff089929a9
added HCL_EUNDEFVAR
2022-05-05 04:03:56 +00:00
fa1c4ac896
added the experimental plus opcode
2022-03-21 15:38:31 +00:00
8747afba63
first successful implementation of class instantion methods
2022-03-17 13:22:17 +00:00
f4661d018a
fixing bugs related to stack, class stack, exceptio stack handling
2022-02-27 19:35:47 +00:00
420d38c8be
simplified the class variable access by remembering the method owner class in context objects
2022-02-17 12:40:22 +00:00
4b4e6a6385
added a class-side dictionary to the class object
2022-02-13 10:15:14 +00:00