Commit Graph

52 Commits

Author SHA1 Message Date
27459c7010 updated hcl_makebigint() 2024-04-09 00:43:27 +09:00
d578ded2c8 update for type correctness
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-06 16:52:53 +09:00
b1d62105a5 wip - fixing bootstrapping issues related to objects and classes
Some checks failed
continuous-integration/drone/push Build is failing
2024-04-05 10:00:58 +09:00
9cd1f90d5d wip - full oop - ignition ok - able to create bootstrapping classes. - able to instantiate objects
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-08 00:23:52 +09:00
874d0c7962 wip - full oop - added spec and selfspec to the class struct
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-06 07:51:29 +09:00
def1e7349c first attempt in implementing full OO
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-02 14:59:27 +09:00
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
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
3d47a99cd2 added many charcter handling code
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-22 00:24:57 +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
ff089929a9 added HCL_EUNDEFVAR 2022-05-05 04:03:56 +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
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
d1c12bc543 attempting to touch up the context object 2022-02-03 00:57:36 +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
a61f6f5f47 fixed the missing prototype defintion of hcl_instantiate() 2021-12-31 08:39:12 +00:00
72724799b3 working on object instanttiation 2021-12-27 23:12:36 +00:00
6b476b5c6e more code to implement class 2021-06-27 17:47:51 +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
a20587537e minor code fixes 2021-03-27 10:32:23 +00:00
51e347889d the new compiler is becoming usable. but not complete yet.
added more string copy functions
2021-01-22 14:43:47 +00:00
e4ae7add8b coding a better compiler 2021-01-17 17:45:39 +00:00
6720640ed7 adding some work-in-progress code to store debugging information for generated byte codes 2021-01-03 13:51:23 +00:00
c6145a2302 fixed an issue with an old compiler 2020-12-31 18:15:27 +00:00
11e831bbcc switching GC from semi-space copying to mark-sweep 2020-12-31 17:48:47 +00:00
1b07957718 fixed a gc error not fixed in the previous commit 2020-10-04 19:07:21 +00:00
2b786018d7 changing vm implementation a bit. this commit is buggy 2020-10-04 18:21:05 +00:00
c7e87698d0 still experimenting to find a good way to represent byte codes and literal frames in the interactive mode 2020-09-28 15:44:04 +00:00
6e5a92a041 refined the msb positioning functions
migrated hcl_isint()/hcl_isbigint() to hcl-prv.h
2019-05-04 17:56:45 +00:00
fd99432186 redefined hash functions 2019-03-06 01:50:46 +00:00
e935ba7221 fixed a bug in alloc_numeric_array() that allocated the extra 'len' bytes instead of a single extra 'unit' bytes 2018-12-10 09:26:34 +00:00
e92407221f renamed some function names for naming consistency 2018-04-07 15:54:16 +00:00
e466c6b68a disallowed fixed point decimal literal with no digit after the point.
fixed a bug in hcl_divnums
2018-03-30 17:37:40 +00:00
116512ae9d started adding fpdec calculation functions 2018-03-28 16:40:42 +00:00
3a30ffda7b implemented reading and printing of fixed-point decimal number. primitives yet to be written 2018-03-28 08:57:49 +00:00
ef51ee4a1d enhanced the logfmtv to handle encoding conversion of the format string 2018-02-26 15:24:45 +00:00
9498530691 enhanced HCL_BRANDOF() to avoid multiple comparisons.
added the eqk? builtin primitive
removed unnecessary lines
2018-02-23 07:17:23 +00:00
4876d1775c added hcl_getlastretv().
enhanced hcl_hashobj() to return hash values for nil, true, false
2018-02-22 07:41:03 +00:00
67a334bc26 deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:30:18 +00:00
cfdc22ee60 added --enable-unicode to configure.ac
cleaned up unnecessary code
2018-02-21 07:37:10 +00:00
f802bec44a integrated bigint
cleaned up code
2018-02-13 16:10:41 +00:00
eff0957fbb adjusted bigint code 2018-02-13 11:48:16 +00:00
eff4be881f implemented (do ...) 2018-02-09 16:10:29 +00:00
e54096f2a0 changed copyright years 2018-02-07 14:13:13 +00:00
f904914d6a implemented dictionary printing 2018-02-07 10:55:20 +00:00
979ba97769 enhanced the compiler to handle array enclosed in #().
added partial code to handle dictionary enclosed in #{}
2018-02-07 07:35:30 +00:00
293222d5c5 trying to revive this project 2018-02-05 10:43:25 +00:00
15208b5e85 added some code to handle primitives and the call instruction 2016-10-06 17:49:47 +00:00