Commit Graph

103 Commits

Author SHA1 Message Date
hyunghwan.chung
277dc64ac4 implemented interface method duplication check in the compiler 2019-10-12 04:21:23 +00:00
hyunghwan.chung
7b8b7d70fd removed unused code of putting compiled method code into a separate array.
started implementing interface method support
2019-10-04 18:32:38 +00:00
hyunghwan.chung
e145c4742e enhanced the compiler and the interface structure to allow an interface as a name space.
enhanced formatted output of namespace, interface, class to include the hierarchy.
changed the pooldic item terminator from a period to a comma
2019-09-30 08:46:50 +00:00
hyunghwan.chung
ee9064bf8f adding the hash flag field to the object to support generic object hash with a moving gc 2019-09-16 14:16:55 +00:00
hyunghwan.chung
dd6186d1f2 experiment with unaligned address in ffi 2019-09-05 08:45:04 +00:00
hyunghwan.chung
3e1aded8a8 enhanced compile_if_expression() not to eliminate blocks containing one or more labels 2019-08-07 05:33:35 +00:00
hyunghwan.chung
b3eb804f87 reorganized moo_duputobcstr(), moo_dupbtoucstr(), moo_dupbtouchars(), moo_duputobchars().
renamed add_io_name() to moo_addcioname().
changed input_handler in std.c to set arg->name when opening a file with moo_addcioname().
shortened dbginfo to dbgi.
enhanced the compiler to record the class location in dbgi
2019-07-10 09:19:38 +00:00
hyunghwan.chung
fba3c3213c attempting to store the source location information collected while compiling into the moo_dbginfo_t data structure 2019-07-07 15:24:27 +00:00
hyunghwan.chung
7f835ea120 added moo_ischildclassof().
filled pf_context_find_exception_handler() to speed up exception handling a bit
2019-07-05 08:12:42 +00:00
hyunghwan.chung
2cbfdfd6dd added the _instsize field to moo_t.
changed moo_getxtn() to utilize this new field.
remove moo_getxtnstd() as it's not needed any more for the added field
2019-06-21 07:21:58 +00:00
hyunghwan.chung
2b2ffb5521 added moo_get_cmgr_by_id(), moo_get_cmgr_by_name(), and other similar functions
changed the default source input handler to take the @postfix as the encoding specifier
2019-05-14 10:22:37 +00:00
hyunghwan.chung
bbf0f6acd1 migrated moo_isint() to moo-prv.h as a static inline function
renamed is_bigint() to moo_isbigint()
2019-05-04 17:53:16 +00:00
hyunghwan.chung
313077f70f added moo_copyoochartosbuf()
changed string_to_fpdec to use sbuf
2019-02-20 09:08:10 +00:00
hyunghwan.chung
c3705dd340 renamed logfmtv to fmtoutv and made related changes 2019-01-25 07:49:01 +00:00
hyunghwan.chung
fc3a725bb8 renamed moo_pushtmp()/poptmp()/poptmps() to moo_pushvolat()/popvolat()/popvolats() 2018-12-28 08:29:27 +00:00
hyunghwan.chung
71a617b95b enhanced moo_inttostr() with 2 new flags - MOO_INTTOSTR_LOWERCASE and MOO_INTTOSTR_NONEWOBJ
redefined bigint and fpdec check macros
added the strfmt primitive to String
2018-12-21 16:25:25 +00:00
hyunghwan.chung
fb7b226ea8 used more access macros 2018-12-19 16:57:16 +00:00
hyunghwan.chung
033c34f9b2 touching up code for ongoing gc enhancement 2018-12-08 15:35:26 +00:00
hyunghwan.chung
1cffec34e8 renamed moo_allocheapmem() to moo_allocheapspace() and changed its second parameter from moo_heap_t* to moo_space_t*
added moo_space_t
changed moo_makeheap() to create a single heap and split it to multiple spaces
2018-11-30 13:37:15 +00:00
hyunghwan.chung
4de478a9cc moving heap creation to moo_ignite() from moo_init() 2018-11-30 10:33:17 +00:00
hyunghwan.chung
f17ec84b9c attempted to support large page in win32. WIP. 2018-11-27 09:56:59 +00:00
hyunghwan.chung
8d19c60359 added simple utf16 conversion functions 2018-11-14 04:25:27 +00:00
hyunghwan.chung
6939433ff0 added moo_seterrbfmtwithsyserr() and moo_seterrufmtwithsyserr() 2018-11-13 06:54:30 +00:00
hyunghwan.chung
cd6c6d994c more code to add standard callbacks 2018-11-11 16:53:21 +00:00
hyunghwan.chung
7699d332b8 added dl_startup and dl_cleanup to vmprim 2018-11-03 16:11:55 +00:00
hyunghwan.chung
2f65380c06 put the method modifiers information into the preamble field of the method signature object from interface definition 2018-10-10 06:12:21 +00:00
hyunghwan.chung
9ad9299dea allowed class and class extension nesting inside a class 2018-10-08 06:51:31 +00:00
hyunghwan.chung
e6fca77adf removed redundant format specifier in setting the 'unabel tog et module symbol' error 2018-09-30 16:14:53 +00:00
hyunghwan.chung
b99f66996a fixed a few syntax issues with some old compilers.
added some code for os2
2018-05-18 16:41:45 +00:00
hyunghwan.chung
b891d31e8b added the mod parameter to primitive functions 2018-05-07 16:52:51 +00:00
hyunghwan.chung
e2a9e2c66f introduced the new type moo_bitmask_t 2018-04-26 04:44:01 +00:00
hyunghwan.chung
2467b4212a added backtracing code using libunwind 2018-04-26 03:17:54 +00:00
hyunghwan.chung
cc0c6ed654 renamed OPENDL_PFMOD to DLOPEN_PFMOD 2018-04-12 02:49:22 +00:00
hyunghwan.chung
ad04eaa7b1 added MOO_MOD_INDEX 2018-04-09 16:31:11 +00:00
hyunghwan.chung
8a6e2c601c renamed some function names for naming consistency 2018-04-07 15:54:09 +00:00
hyunghwan.chung
47c46e189d changed moo_getutf8cmgr() to moo_get_utf8_cmgr() 2018-03-12 16:46:21 +00:00
hyunghwan.chung
76a185aa66 changed configure.ac to reset DL_LIBS if it's set to 'none required'.
pushed down heap creation in hcl_init()
2018-03-05 04:46:13 +00:00
hyunghwan.chung
f267374dea added new optional callbacks - alloc_heap & free_heap 2018-03-01 14:48:14 +00:00
hyunghwan.chung
18ca2b30a0 changed code to get rid of some type conversion warnings 2018-02-26 15:30:38 +00:00
hyunghwan.chung
420ee09907 added error immunity check for the log_write callback 2018-02-22 04:44:34 +00:00
hyunghwan.chung
ae0f559060 enhanced --enable-unicode to accept ucs4 and ucs2 in addition to yes/no.
redefined the moo_uch_t type to follow the enable-unicode value
2018-02-21 10:11:39 +00:00
hyunghwan.chung
8233a6ae0a deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:35:59 +00:00
hyunghwan.chung
00e815b8ff fixed a potential problem cause be presence of NDEBUG 2018-02-20 14:51:19 +00:00
hyunghwan.chung
9531c6a7e8 moved the inttostr conversion buffer into moo_t 2018-02-17 13:32:30 +00:00
hyunghwan.chung
88861aa522 touched up error message handling 2018-02-12 16:50:32 +00:00
hyunghwan.chung
374a2242d1 changed error message handling a little bit 2018-02-12 10:19:33 +00:00
hyunghwan.chung
48bee5a2c8 improved error handling a bit 2018-02-12 10:12:17 +00:00
hyunghwan.chung
92c7394658 added some error messsages 2018-02-09 04:27:31 +00:00
hyunghwan.chung
fd5b998e62 added some error messages 2018-02-09 04:23:41 +00:00
hyunghwan.chung
15ebf5537f formatted a couple source lines 2018-02-05 09:56:05 +00:00