This website requires JavaScript.
87fd48b713
bundled isocline
main
hyung-hwan
2024-12-22 22:06:32 +09:00
431840f77b
improved the interactive input handling if isocline is available
hyung-hwan
2024-10-27 19:17:07 +09:00
a60bcfef80
minor code fix
hyung-hwan
2024-10-26 13:44:45 +09:00
7409f9a2a3
include hcl-str.h from utl.c
hyung-hwan
2024-10-22 20:23:11 +09:00
793c6a5d43
adding some class definitions
hyung-hwan
2024-10-21 23:56:58 +09:00
9fd31c9c52
fixed a bug of not setting the exception variable position in compile_catch()
hyung-hwan
2024-10-21 01:19:53 +09:00
a2b840f41d
updated add_class_level_variable() for better duplicate check
hyung-hwan
2024-10-20 20:12:31 +09:00
d2b3cc9f71
enhanced the compiler logic to handle the class-level variales
hyung-hwan
2024-10-20 17:37:51 +09:00
9b3b2d1e5b
enhanced the variable buffer handling by not adding 'space' for the first variable
hyung-hwan
2024-10-19 22:36:15 +09:00
41b36ab170
simplified variable adding routines
hyung-hwan
2024-10-19 22:00:53 +09:00
001472fe4f
removed some unneeded code holding class-level variables
hyung-hwan
2024-10-19 14:15:18 +09:00
0b65671adb
put back two assertions in exec.c
hyung-hwan
2024-10-19 02:54:07 +09:00
f2479c55cd
enhancing the compiler to handle 'var' in the class scope. unneeded code to be removed asap
hyung-hwan
2024-10-19 02:31:54 +09:00
3c88ada3bf
removed a wrong header file entry from lib/Makefile.am
hyung-hwan
2024-10-15 19:40:26 +09:00
169c626819
split some common files
hyung-hwan
2024-10-15 16:36:25 +09:00
955b734a79
split string fucntions to separate files str.c and hcl-str.h
hyung-hwan
2024-10-14 18:57:10 +09:00
7ecb5d36ad
updated the compiler to make 'do' handling more consistent with {}
hyung-hwan
2024-10-12 13:59:23 +09:00
17550d44c5
renamed fnblk to funblk, cblk to ctlblk. enhancing the compiler code to handle 'var' inside 'class'
hyung-hwan
2024-10-12 00:24:02 +09:00
42009d3cce
enhanced compile_class_attr_list() with data table and binary search
hyung-hwan
2024-10-07 21:46:41 +09:00
86d9a137c8
trying to verify class attribute list implementation - still not complete
hyung-hwan
2024-10-07 01:42:40 +09:00
20bdc0d52d
minor code touch-up
hyung-hwan
2024-10-06 21:28:30 +09:00
54e33f53b9
added vm code to apply the attribute list encoded in the CLASS_ENTER instruction
hyung-hwan
2024-10-06 00:18:24 +09:00
2c89b2ae97
updated t/err.sh to show the erroneous line number
hyung-hwan
2024-10-05 21:57:54 +09:00
335574dd6d
updated some error messages
hyung-hwan
2024-10-05 09:56:52 +00:00
e6dd0f06a4
change to a single byte to encoded class attribute
hyung-hwan
2024-10-05 13:47:27 +09:00
3f350dd38a
adding code to support class attribute list. work in progress
hyung-hwan
2024-10-05 00:05:52 +09:00
f4d223f646
removed HCL_CNODE_IS_SYMBOL_PLAIN. renamed HCL_CNODE_IS_SYMBOL_PLAIN_BINOP to HCL_CNODE_IS_SYMBOL_BINOP. renamed HCL_CNODE_IS_SYMBOL_PLAIN_IDENT to HCL_CNODE_IS_SYMBOL_IDENT
hyung-hwan
2024-10-04 00:39:41 +09:00
6896da6870
changed the superclass marker from '::' to ':'
hyung-hwan
2024-10-03 22:54:03 +09:00
0dbaa264f7
renamed the remaing SYNCODE stuffs to CONCODE something
hyung-hwan
2024-10-03 21:52:32 +09:00
1e97a324ec
removed most of syncode stuffs
hyung-hwan
2024-10-03 21:41:59 +09:00
ed978e6f2d
removed defclass
hyung-hwan
2024-10-03 17:21:08 +09:00
bcaae10bef
updated compile_fun() to check attribute list after having found class_name, fun_name, arg_list
hyung-hwan
2024-10-02 19:14:10 +09:00
506b8fd9d7
removed the :* token
hyung-hwan
2024-10-02 00:41:54 +09:00
3d0cdb5366
rewrote compile_fun() to support attribute list for a function
hyung-hwan
2024-10-02 00:33:34 +09:00
29af1562fc
wip - writing part of compile_fun() in comp.c
hyung-hwan
2024-09-29 14:02:38 +09:00
5be537b16d
wip - added some code to rewrite compile_fun()
hyung-hwan
2024-09-28 14:45:15 +09:00
f6d97f8301
let 'fun' replace 'defun' totally
hyung-hwan
2024-09-28 11:57:56 +09:00
b108cc79e7
removed some unused code
hyung-hwan
2024-09-28 01:47:28 +09:00
4fe4ee649f
preparing to handle singals
hyung-hwan
2024-09-27 21:06:12 +09:00
e337e9d48b
set RDONLY on objects added to the literal frame
hyung-hwan
2024-09-26 19:50:57 +09:00
c9a96e02f7
updated the same literal check in hcl_addliteraltocode()
hyung-hwan
2024-09-25 00:40:46 +09:00
2595e5b35d
enhanced the radix check in the feed handler
hyung-hwan
2024-09-24 22:24:31 +09:00
568166b4e2
minor code change for type consisitency
hyung-hwan
2024-09-23 20:31:11 +09:00
2abda37861
updated code to support the radixed number with 'r'
hyung-hwan
2024-09-24 19:41:42 +09:00
4651fadcea
small change to support radixed number literals
hyung-hwan
2024-09-22 22:27:19 +09:00
8a277c77c0
ongoing work to support 0x, 0o, 0b
hyung-hwan
2024-09-22 22:04:18 +09:00
261970a1a4
working to support 0x, 0o, 0b for numbers
hyung-hwan
2024-09-22 02:33:01 +09:00
f8c84dc2f0
changing the feed handler to recognize a symbol literal without double-quotes.
hyung-hwan
2024-09-21 00:51:19 +09:00
3e6cfccb3b
touched up bigint.c
hyung-hwan
2024-09-20 12:00:18 +09:00
e81bcbab61
removed the brand field from the object header
hyung-hwan
2024-09-20 03:14:48 +09:00
41cf6e95ce
added a test case for 'stray backslash'
hyung-hwan
2024-09-18 22:23:30 +09:00
914d1797f3
fixed more reader problems
hyung-hwan
2024-09-18 22:21:11 +09:00
b6e6274666
fixed various reader issues
hyung-hwan
2024-09-18 21:41:00 +09:00
ec4a6facee
added code to process the binop symbol
hyung-hwan
2024-09-16 11:12:11 +09:00
a3e2b589be
added the make_charaarray instruction and pop_into_chararray insruction
hyung-hwan
2024-09-15 11:51:11 +09:00
ed33ca2196
added code to support numeric named instance variables
hyung-hwan
2024-09-14 14:08:33 +09:00
617ab3e753
changed decode_spec to honor the field info for a non-indexed spec instead of hardcoding it to HCL_OBJ_TYPE_OOP
hyung-hwan
2024-09-13 17:09:58 +09:00
f6f475df4a
work in progress dropping the brand bits
hyung-hwan
2024-09-12 18:06:12 +09:00
6e9e1d35f4
added a test on process handling. used hcl_instantiate() in making process-related objects
hyung-hwan
2024-09-12 16:08:16 +09:00
8604c6ddf1
call hcl_instantiate() with hcl->c_primitive in hcl_makeprim()
hyung-hwan
2024-09-12 00:26:23 +09:00
b5c24eb440
simplified message send a bit
hyung-hwan
2024-09-10 23:11:25 +09:00
d0019e52cb
fixed typos in configure.ac
hyung-hwan
2024-09-10 15:24:38 +09:00
73cb88cfce
updated the go wrapper to print compatible error messages with the main implementation
hyung-hwan
2024-09-10 12:30:26 +09:00
c8af7b2fd3
use hcl_instantiate() in hcl_makedic()
hyung-hwan
2024-09-08 17:26:22 +09:00
b39bfaa181
updated code to correct the RDONLY bit behavior
hyung-hwan
2024-09-08 15:52:32 +09:00
4a6da0b386
added conditionals ENABLE_STATIC and ENABLE_SHARED
hyung-hwan
2024-09-07 12:54:16 +09:00
a5d13e17e5
updated hclgo's command line parsing a bit
hyung-hwan
2024-09-07 12:34:17 +09:00
4617a68a71
fixed the wrong bootstraping of ByteString
hyung-hwan
2024-09-07 10:15:54 +09:00
1dedee9ae3
instanation the bxxx literal as ByteString. no more ByteArray
hyung-hwan
2024-09-07 00:39:46 +09:00
7d9e1b4c0c
renamed #include to $include. introduced the symbol literal
hyung-hwan
2024-09-05 01:12:20 +09:00
a62b89cea9
enhanced the reader and compiler to treat the binop expression like a message-send expression
hyung-hwan
2024-09-03 12:18:08 +09:00
4c1a50df83
made ALIST callable in XLIST
hyung-hwan
2024-09-01 16:28:40 +09:00
88e8471014
some binop expression stuff
hyung-hwan
2024-09-01 02:20:22 +09:00
150e7386f8
attempting to support multi-binop expression by tranforming it to a chained single-binop expression
hyung-hwan
2024-08-31 14:04:53 +09:00
e0e86d5463
added a test case for mutlivariable assignment to instance variables
hyung-hwan
2024-08-29 19:05:21 +09:00
a93abed8a1
fixed the wrong initialization of the ivaroff field of the context object in make_context()
hyung-hwan
2024-08-29 01:14:59 +09:00
b9997b7079
fixed a bug in printing the class_XXmstore instruction executed
hyung-hwan
2024-08-29 00:55:32 +09:00
8597f532fa
updated the reader to transform the assignment expression to set/set-r expressions. updated the compiler to handle the assignment expression
hyung-hwan
2024-08-28 00:58:56 +09:00
8602a479d7
'do' treated as a keyword
hyung-hwan
2024-08-23 01:07:08 +09:00
229d3b1f29
renamed return-from-home to revert treated return and revert as keywords
hyung-hwan
2024-08-22 18:10:41 +09:00
191c123cb6
class, fun, break, continue, until, while treated as keywords
hyung-hwan
2024-08-22 16:06:59 +09:00
60aac191b0
changed the compiler to treat try, catch, throw as keywords
hyung-hwan
2024-08-21 22:19:41 +09:00
32f1da7d28
trying to change the compiler to treat if, elif, else as keywords added primAt, primtAtPut, HCL_SYNERR_CATCH
hyung-hwan
2024-08-21 01:00:29 +09:00
b9103ea890
wip - incompelete code
hyung-hwan
2024-08-19 19:13:48 +09:00
1338e88fa3
some code clean-up in bigint.c
hyung-hwan
2024-08-12 02:27:07 +09:00
185f72381a
updatecd basicAt and basicAtPut to cater for fixed fields
hyung-hwan
2024-08-11 02:17:52 +09:00
151653aaf4
changed some functions to set no error upon failure in bigint.c
hyung-hwan
2024-08-10 18:00:33 +09:00
17cde13cbb
added the flexi object bit
hyung-hwan
2024-08-10 14:42:21 +09:00
acb8a3cd68
renamed some internal functions
hyung-hwan
2024-08-08 17:36:41 +09:00
b806865c21
removed the str module
hyung-hwan
2024-08-08 16:30:15 +09:00
5ddc29dc5b
added respondsTo and related functions
hyung-hwan
2024-08-08 01:52:50 +09:00
433744c33a
fixed the wrong core function name in mod/core.c
hyung-hwan
2024-08-04 13:40:07 +09:00
a86088045d
attempt to write basicNew
hyung-hwan
2024-08-03 10:40:44 +09:00
bad79feacb
removed the arr module
hyung-hwan
2024-08-02 00:34:42 +09:00
e2864bab55
added pf_core_put
hyung-hwan
2024-07-29 19:15:12 +09:00
7252ee5e47
updated the kernel class initialization to set the superclass
hyung-hwan
2024-07-29 15:36:07 +09:00
e4a26b71be
updated initialization of the nivars_super field of kernel classes in gc.c
hyung-hwan
2024-07-27 16:27:43 +09:00
b040c2c05a
reorganized the kernel class table with the index to the superclass slot for bootstrapping of initial class chains
hyung-hwan
2024-07-27 01:14:51 +09:00
fb25712133
removed the nivars and ncvars fields from class
hyung-hwan
2024-07-25 02:44:43 +09:00
dfc6ec94f4
updating internal class representation
hyung-hwan
2024-07-23 23:50:29 +09:00