Commit Graph

98 Commits

Author SHA1 Message Date
hyunghwan.chung
436babff3c enhanced the vm logging interface
attempted to execute ensure blocks on process termination. (wip)
2016-07-01 16:31:47 +00:00
hyunghwan.chung
1445d0deb0 added some logging methods to SystemDictioanry
added Resource handling functions for use by primitive modules
2016-06-30 13:44:37 +00:00
hyunghwan.chung
de965baab7 refactored exception handling code a little 2016-06-26 15:03:12 +00:00
hyunghwan.chung
d512088860 improved timer management to work on platforms where stix_smooi_t is not large enough 2016-06-24 15:53:00 +00:00
hyunghwan.chung
102fa8abf4 removed more unused code 2016-06-24 15:01:51 +00:00
hyunghwan.chung
73885dc552 removed the ensure_block field from the context object and added the <ensure> code to the preamble field of a method. 2016-06-22 03:23:14 +00:00
hyunghwan.chung
8b678c21fb added some code for unwind protection 2016-06-20 15:42:51 +00:00
hyunghwan.chung
67275b3ef3 started correcting ensure: implementation 2016-06-18 00:12:27 +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
f43240ca4d improved log message handling more 2016-06-03 16:16:23 +00:00
hyunghwan.chung
eeb2fdebbd improved log message handling 2016-06-03 15:46:01 +00:00
hyunghwan.chung
0c4ce4eb04 added stix_bfmtout() and stix_oofmtout() 2016-06-01 15:33:03 +00:00
hyunghwan.chung
037bbff42c started adding byte-code decoder 2016-05-27 15:01:54 +00:00
hyunghwan.chung
717ffcbdd9 some more work on process switching and exception handling 2016-05-17 15:12:27 +00:00
hyunghwan.chung
19735bac69 fixed a problem in breaking out of an initial context 2016-05-15 15:51:41 +00:00
hyunghwan.chung
801b6d92d4 fixed some minor build flaws 2016-05-13 15:10:34 +00:00
hyunghwan.chung
f9ad51b5c5 added a name field to a complied method class.
wrote more code for implementing exception handling
2016-05-03 10:10:28 +00:00
hyunghwan.chung
77f0bfad5d added some more code to support exception handling 2016-03-28 13:25:36 +00:00
hyunghwan.chung
2a88f5d503 started adding code for supporting exception handling 2016-03-26 06:39:56 +00:00
hyunghwan.chung
d6ee9e5b67 added code to handle timed semaphore singalling 2016-03-22 14:18:07 +00:00
hyunghwan.chung
fabc9afee8 added SemaphoreHeap 2016-03-16 02:27:18 +00:00
hyunghwan.chung
b3b9af86fd changed the process list of a semaphore to a doubly linked list 2016-02-29 17:26:40 +00:00
hyunghwan.chung
55a43371d5 added some code for implementing semaphore 2016-02-29 15:27:10 +00:00
hyunghwan.chung
351239bdf4 changed the list manupluation style in managing process switching 2016-02-19 15:52:56 +00:00
hyunghwan.chung
734082db91 added some code to implement semaphores 2016-02-18 17:49:56 +00:00
hyunghwan.chung
fc7a44ba7d changed to store the stack poitner of the active process before context switching. the stored stack pointer is used to restore stix->sp when a method return is performed 2016-02-16 17:00:10 +00:00
hyunghwan.chung
9edf849d2a wrote more code for process handling and return handling 2016-02-15 18:07:20 +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
3d937334d8 touched up code a bit 2016-02-11 14:26:26 +00:00
hyunghwan.chung
ce9db0e40d added aclocal.m4 2016-01-29 04:04:39 +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
e7d00d89bf implement right bit shift over a small integer 2015-12-22 15:50:01 +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
f618154aaf changed STIX_SMOOI_MIN to -STIX_SMOOI_MAX instead of (-STIX_SMOOI_MAX - 1)
fixed tally range check bugs in dic.c/sym.c/gc.c
simplificed some code resulting from STIX_SMOOI_MIN change.
2015-11-20 09:05:55 +00:00
hyunghwan.chung
5cebf7e8dc changed atom_t to stix_liw_t and made related changes.
introduced #liword to the compiler
2015-11-17 14:13:59 +00:00
hyunghwan.chung
346131b3e3 added more code for bigint multiplication 2015-11-13 15:55:56 +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
e519c5078e relocated bigint data table initialization to stix_init() 2015-11-10 14:29:32 +00:00
hyunghwan.chung
df3f521220 touched up stix_strtoint() 2015-11-09 14:26:58 +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
2aef6b9bab added the new process primitive to create a process with a block as if it has got the value message 2015-10-22 02:47:25 +00:00
hyunghwan.chung
96011578c8 added some more code for processing scheduling 2015-10-19 06:16:43 +00:00
hyunghwan.chung
3482c99ab7 added more code for process scheduling 2015-10-18 15:06:17 +00:00
hyunghwan.chung
f52356e8c8 added more code for process scheduling 2015-10-15 14:40:08 +00:00
hyunghwan.chung
5a82cdc417 did some preparatory work to add Process 2015-10-14 14:01:33 +00:00