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
2c2cfc99bb
changed the object instantiation function to add up the instance variables counts of the superclass chain
2022-02-07 15:13:38 +00:00
ef24bf68df
implementing instance variable access with regards to inheritance
2022-02-06 16:06:48 +00:00
eac89bff5c
removed an annoying comma in the syncode enumerator definition
2022-02-05 17:37:06 +00:00
495cea5704
added a new identifier - self
2022-02-05 17:35:10 +00:00
d1c12bc543
attempting to touch up the context object
2022-02-03 00:57:36 +00:00
72ed203f80
renamed class_set to class_mstore
2022-01-31 01:36:59 +00:00
d72baec0a9
more code added for message sending implementation
2022-01-25 07:54:11 +00:00
7ad9b2d499
rearranged the stack for the call operation by pushing a dummy receiver.
...
the rearrangement is done to make aa plain function call look the same as a message send
2022-01-22 15:40:38 +00:00
a7a69d9a11
implementing a message sending list
2022-01-14 16:09:52 +00:00
bdf527f298
writing the compiler code for class variable handling
2022-01-09 16:47:38 +00:00
0fd038ddb6
utf8 range limiting.
...
compiler work for class variable access in the class defintion scope
2022-01-08 09:26:54 +00:00
a830d578e0
touching up variable declaration handling in a class
2022-01-03 17:59:55 +00:00
afeebc08c9
fixed process stack handling
2021-12-25 15:33:49 +00:00
b78513ad0a
fixed a minor typecasting flaw
2021-07-24 15:28:59 +00:00
28bac46b39
added HCL_LOG_TARGET_BCS and HCL_LOG_TARGET_UCS
2021-07-19 18:59:17 +00:00
08cf4548bb
reworked on HCL_LOG_TARGET
2021-07-19 07:11:41 +00:00
6b476b5c6e
more code to implement class
2021-06-27 17:47:51 +00:00
2fbb2eda6c
wrote more code to support classes
2021-06-25 15:19:11 +00:00
b41be3e5c4
added some code to handle defclass
2021-05-29 05:44:29 +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
b1f7ab6538
implemented multiple return values assignment with set-r
2021-05-15 05:31:36 +00:00
ebda2ffa0a
enhanced compile_return() to handle 'return' differently in a function block containing return variables
2021-05-13 15:54:30 +00:00
550e39e21e
some more code to support multiple return values via return variables
2021-05-13 14:43:40 +00:00
faea7b60df
writing code for return variables support
2021-05-11 15:04:53 +00:00
391d62511b
writing code to implement return variables
2021-05-09 15:32:54 +00:00
01719d0056
enhancing the compiler to support the variable argument list with the ellipsis
2021-05-07 08:53:01 +00:00
c37b695a76
fixing bugs introduced for block temporaries sheme
2021-05-05 17:37:26 +00:00
bd3730fd12
changed the block temporaries scheme
2021-05-05 14:37:01 +00:00
5d83fdbfe2
trying to support variable arguments and return variables
2021-05-03 15:31:19 +00:00
999024e54b
added hcl_compile_flag_t
2021-04-24 13:50:51 +00:00
3224989b99
try-catching working in the top-level now. implemented a way to secure space for top-level temporary variables
2021-04-23 07:17:40 +00:00
2655d7f0b0
updated HCL_PROCESS_NAMED_INSTVARS 12 to 13
2021-04-20 13:45:22 +00:00
cfa019a16d
fixing code to implement exception handling
2021-04-14 16:20:18 +00:00