Commit Graph

26 Commits

Author SHA1 Message Date
hyunghwan.chung
a9c48b75e6 introduced the Error class to represent an error code as an object.
rewrote STIX_ASSERT() to call stix_logbfmt() via stix_assertfailed()
2016-12-26 18:44:47 +00:00
hyunghwan.chung
eaa9dbc958 experimental code for better module handling 2016-11-18 18:11:13 +00:00
hyunghwan.chung
f22b896ed2 fixed the bug not popping an argument in the _integer_inttostr primitive.
added a new primitive _processor_return_to_and_eval to support proper exception handling
2016-06-13 15:52:09 +00:00
hyunghwan.chung
512df8876b switched many hardcoded printf() statements to STIX_LOGX() 2016-06-05 18:01:35 +00:00
hyunghwan.chung
36a54fd29f refreshed whileTrue: and whileFalse: 2016-05-12 05:53:35 +00:00
hyunghwan.chung
f32e58f4b3 fixed a compiler bug that omitted the RETURN_FROM_BLOCK instruction when an empty block is encountered.
added more code for supporting the process stack
2016-02-12 16:23:26 +00:00
hyunghwan.chung
c427f39a12 added stix_isint(), stix_inttooow(), stix_oowtoint().
added stix_eqints(), stix_neints(), stix_gtints(), stix_geints(), stix_ltints(), stix_leints().
enhanced some primitive handlers to support large integers
2015-12-27 18:02:59 +00:00
hyunghwan.chung
6fb206a265 touched up various size related definitions and code 2015-12-22 07:49:28 +00:00
hyunghwan.chung
08cfa55acc rewrote stix_bitandints(), stix_bitorints(), stix_bitxorints() to handle negative numbers in the 2's complement form 2015-12-17 16:11:10 +00:00
hyunghwan.chung
2fbb4d3a71 added STIX_EPFULL
fixed a bug in starting an initial process
started writing an integer-to-string conversion function
2015-12-02 15:24:13 +00:00
hyunghwan.chung
b0f8561238 added more code for bigint.
changed SMINT to SMOOI and renamed relevant macros accordingly
2015-11-12 06:57:35 +00:00
hyunghwan.chung
d33ad3749a Added stix_shallowcopy().
added some code for bigint operations
2015-10-30 15:36:37 +00:00
hyunghwan.chung
1094d298cb added some bigint related code 2015-10-29 15:24:46 +00:00
hyunghwan.chung
98631175d0 redefined some types 2015-10-28 14:58:58 +00:00
hyunghwan.chung
60299cda5b added experimental code to support byte trailer of a pointer object. the main purpose is to embed byte codes into the back of the compiled method object.
fixed buggy code using the freed pointer when reallocation has occurred - callers of clone_keyword(), clone_assignee(), clone_binsel()
2015-07-01 15:01:39 +00:00
hyunghwan.chung
e87dbbdfcd fixed a bug of not initializing a variable buffer length in compile_class_definition() 2015-06-21 14:45:45 +00:00
hyunghwan.chung
dab7285c45 added partial code to parse message sending expressions 2015-06-03 17:24:11 +00:00
hyunghwan.chung
87929410db fixed a wrong class name specified when adding a compiled method 2015-05-31 18:43:37 +00:00
hyunghwan.chung
b91cd11561 added some basic code to handle a method dictionary 2015-05-28 16:51:37 +00:00
hyunghwan.chung
008c74666d still more compiler code 2015-05-26 16:31:47 +00:00
hyunghwan.chung
b70d9a976a added utf8 string conversion functions 2015-05-17 05:02:30 +00:00
hyunghwan.chung
10661777a1 fixed a bug of not resetting the heap limit after gc.
added some pointer arithmetic macros.
2015-05-08 14:29:35 +00:00
hyunghwan.chung
0b97fee2c4 added many lines of code for initial loading 2015-05-07 15:58:04 +00:00
hyunghwan.chung
c74266293d fixed wrong defintions of some macros 2015-05-04 16:48:38 +00:00
hyunghwan.chung
e637f3a1f1 switched bitfields to bit-manipulation macros 2015-05-03 17:10:30 +00:00
hyunghwan.chung
6e9a47fd5b added some initial files 2015-04-30 15:56:05 +00:00