Commit Graph

845 Commits

Author SHA1 Message Date
ec4a6facee added code to process the binop symbol
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-16 11:12:11 +09:00
a3e2b589be added the make_charaarray instruction and pop_into_chararray insruction
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-15 11:51:11 +09:00
ed33ca2196 added code to support numeric named instance variables
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-13 17:09:58 +09:00
f6f475df4a work in progress dropping the brand bits
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-12 18:06:12 +09:00
6e9e1d35f4 added a test on process handling.
Some checks failed
continuous-integration/drone/push Build is failing
used hcl_instantiate() in making process-related objects
2024-09-12 16:08:16 +09:00
8604c6ddf1 call hcl_instantiate() with hcl->c_primitive in hcl_makeprim()
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-12 00:26:23 +09:00
b5c24eb440 simplified message send a bit
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-10 23:11:25 +09:00
73cb88cfce updated the go wrapper to print compatible error messages with the main implementation
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-10 12:30:26 +09:00
c8af7b2fd3 use hcl_instantiate() in hcl_makedic()
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-08 17:26:22 +09:00
b39bfaa181 updated code to correct the RDONLY bit behavior
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-08 15:52:32 +09:00
4617a68a71 fixed the wrong bootstraping of ByteString
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-07 10:15:54 +09:00
1dedee9ae3 instanation the bxxx literal as ByteString. no more ByteArray
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-07 00:39:46 +09:00
7d9e1b4c0c renamed #include to $include.
Some checks failed
continuous-integration/drone/push Build is failing
introduced the symbol literal
2024-09-05 01:12:20 +09:00
a62b89cea9 enhanced the reader and compiler to treat the binop expression like a message-send expression
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-03 12:18:08 +09:00
4c1a50df83 made ALIST callable in XLIST
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-01 16:28:40 +09:00
88e8471014 some binop expression stuff
Some checks failed
continuous-integration/drone/push Build is failing
2024-09-01 02:20:22 +09:00
150e7386f8 attempting to support multi-binop expression by tranforming it to a chained single-binop expression
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-31 14:04:53 +09:00
a93abed8a1 fixed the wrong initialization of the ivaroff field of the context object in make_context()
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-29 01:14:59 +09:00
b9997b7079 fixed a bug in printing the class_XXmstore instruction executed 2024-08-29 00:55:32 +09:00
8597f532fa updated the reader to transform the assignment expression to set/set-r expressions.
All checks were successful
continuous-integration/drone/push Build is passing
updated the compiler to handle the assignment expression
2024-08-28 00:58:56 +09:00
8602a479d7 'do' treated as a keyword
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-23 01:07:08 +09:00
229d3b1f29 renamed return-from-home to revert
All checks were successful
continuous-integration/drone/push Build is passing
treated return and revert as keywords
2024-08-22 18:10:41 +09:00
191c123cb6 class, fun, break, continue, until, while treated as keywords
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-22 16:06:59 +09:00
60aac191b0 changed the compiler to treat try, catch, throw as keywords
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-21 22:19:41 +09:00
32f1da7d28 trying to change the compiler to treat if, elif, else as keywords
All checks were successful
continuous-integration/drone/push Build is passing
added primAt, primtAtPut, HCL_SYNERR_CATCH
2024-08-21 01:00:29 +09:00
1338e88fa3 some code clean-up in bigint.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-12 02:27:07 +09:00
151653aaf4 changed some functions to set no error upon failure in bigint.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-10 18:00:33 +09:00
17cde13cbb added the flexi object bit
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-10 14:42:21 +09:00
b806865c21 removed the str module
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-08 16:30:15 +09:00
5ddc29dc5b added respondsTo and related functions
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-08 01:52:50 +09:00
bad79feacb removed the arr module
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-02 00:34:42 +09:00
e2864bab55 added pf_core_put
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-29 19:15:12 +09:00
7252ee5e47 updated the kernel class initialization to set the superclass
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-29 15:36:07 +09:00
e4a26b71be updated initialization of the nivars_super field of kernel classes in gc.c
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-27 01:14:51 +09:00
fb25712133 removed the nivars and ncvars fields from class
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-25 02:44:43 +09:00
dfc6ec94f4 updating internal class representation
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-23 23:50:29 +09:00
768378a940 fixed the test script - insta-02.hcl
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-22 23:46:38 +09:00
0e2dfea7fb added more test-cases for class redefintion
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-22 18:28:21 +09:00
28c05ff903 updated compiler to prohibit redefinition of a named class
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-22 17:24:26 +09:00
2d120f0d0e removed some unneeded code
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-22 16:11:06 +09:00
266b3a34d5 minor comment change
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-21 02:11:37 +09:00
bd107a172c renamed all lambdas to funs
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-20 19:15:27 +09:00
6645962163 renamed lambda to block in some places
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-20 18:18:47 +09:00
55d7fa0ef7 updated method lookup
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-20 10:17:12 +09:00
22a066ce95 class method lookup extended to the Class class
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-20 00:58:55 +09:00
f216699240 enhanced the print function to print the class name for a class
All checks were successful
continuous-integration/drone/push Build is passing
enahnced the compiler to handle class defintion better.
updated method management routines into method dictionary
2024-07-19 20:50:28 +09:00
91e1e8c9c3 added core.class_name module function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-16 00:15:28 +09:00
81070919d7 fixed the issue caused in the previous comming regarding class name handling
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 23:47:51 +09:00
e1de4624fd broken code - trying to put the name field to class
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-15 19:37:26 +09:00
43062e4db3 removed a duplicate function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 18:52:57 +09:00
8c5affe9a5 updated the tuple handling slightly
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 01:09:19 +09:00
57d9668110 reader improvement to filter out binop from a tuple
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 01:02:07 +09:00
7754d7c7e9 enhanced the reader to perform sanity check on a tuple in advance 2024-07-13 17:40:27 +09:00
0d5907b726 minor change in test driver 2024-07-13 13:33:20 +09:00
8f87dbe008 changed the syntax of the class-level variable declacration to use square brackets
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-09 23:44:24 +09:00
e91c9da9d4 wip - class/instance variable declaration parser
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-08 23:19:37 +09:00
c4320ac147 wip - change class/instance variable declaration parser
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-08 19:54:16 +09:00
cd67f4b337 preparing to handle instance/class variables in a new style
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-06 14:29:07 +09:00
6407d3c175 removed the option HCL_TRAIT_LANG_ENABLE_BLOCK, thus removing conditional codes for simplicity.
All checks were successful
continuous-integration/drone/push Build is passing
changed the compiler to require a block expression as the class body
2024-07-06 12:16:05 +09:00
0befaf0a97 added the name field to the class struct
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-06 00:47:47 +09:00
86ea4e7071 improved the slicing function
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-01 18:57:33 +09:00
8309f057b3 moved the proprocessor capability check up the file
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-21 23:59:48 +09:00
75580f5235 fixed the bug accessing the wrong context in IVAR and CVAR_M instructions
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-31 15:16:31 +09:00
c25f0dabdb compiler fix to prohibit self. or super. in out-of-class method defintion nested in a normal method in a class
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-29 23:19:25 +09:00
b4d435a593 compiler improvement to support out-of-class class method or calss instance method definitions. pending more tests
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-26 23:18:26 +09:00
c219d073ca experimental gets
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-20 18:19:45 +09:00
4ab0187260 more input stream handling code
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-19 17:09:31 +09:00
0bf106532d input handling experiment
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-19 15:12:47 +09:00
35929b8c88 experimenting udi implementation
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-18 13:47:37 +09:00
f08ba4cd12 fixed to clear inner data upon an error in the interactive mode
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-16 19:40:43 +09:00
c795b28cb8 added hcl_instantiatewithtrailer()
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-15 22:59:34 +09:00
47e0604b03 reorganized some files
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-14 21:14:39 +09:00
fdbe17729e enhanced formatting functions to accept hcl as the first parameter in order to extend hcl_fmttobcstr() adn hcl_fmttoucstr() to handle %O and %J
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-14 20:52:25 +09:00
320a3f2d56 wip - fixing code in x-client.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-11 17:22:54 +09:00
5ae3cb1eba wip - x-client
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-11 14:16:22 +09:00
514b6dc96d moved some functions to sys.c
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-06 22:24:08 +00:00
fa90b72c85 tidy up some common code
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-05 14:46:56 +09:00
31cd79beb4 refactoring x-client.c - code broken as of this commit
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-29 19:01:00 +09:00
c801556603 redefined HCL_ALIGNOF() and added HCL_SFN()
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-28 13:40:56 +09:00
8dc884aa7e added hcl_get_base_name_from_path()
merged hclx server and client into a single command
2024-04-27 21:16:00 +09:00
93200c9936 touched up hcl-x code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-25 21:38:20 +09:00
d2a70a2292 some x-client code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-22 19:09:24 +09:00
189ceb6d3a removed unused files and added hcl_sys_send_iov() for common use
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-22 12:39:59 +09:00
7e782809f9 undergoing code refactoring of xproto, server, client code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-21 22:15:04 +09:00
6eee6bc9eb code clean-up of xproto code.
All checks were successful
continuous-integration/drone/push Build is passing
added ifname to ifindex conversion code
2024-04-21 16:29:55 +09:00
ccbaae98a4 made a small fix over file inclusion failure handling
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-21 14:44:03 +09:00
803f9b2817 fixed the tv.wcount and tv.s.len restoration logic upon compiliation failure
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-21 02:24:27 +09:00
759c7a029b removed some unused code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-20 21:57:05 +09:00
c03801cb32 wip - adding more packet types
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-20 14:23:06 +09:00
340f1d8a44 wip - making hcl-x code more reusable
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-20 12:02:22 +09:00
f9bf37f8bf fixed the lvalue check in the assignment list in read.c
All checks were successful
continuous-integration/drone/push Build is passing
touched up fnblk handling in comp.c
updated more code in hcl-x.c
2024-04-18 23:06:28 +09:00
2dad89e2e9 code update for hcl-x
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-18 13:11:44 +09:00
e0083b4453 changed the binop check in the reader code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-17 14:33:24 +09:00
9b42b989fa simplified the logic to show the prompt in interactive mode.
All checks were successful
continuous-integration/drone/push Build is passing
improved the EOF handling code
2024-04-17 12:20:25 +09:00
65d64f7c5f enhanced the interactive mode processing a bit
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-17 02:00:28 +09:00
658e69635a lib/read.c - updated code to reset some internal data upon an error so that another call to hcl_feed() and variants don't suffer
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-15 13:14:49 +09:00
73e3f189a8 updated feed_char() to reset to the START phase upon an error
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-15 02:59:59 +09:00
003ebb1b94 wip - more reworking on hcl server/client code
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-15 02:23:55 +09:00