Commit Graph

710 Commits

Author SHA1 Message Date
hyunghwan.chung
52d3e2528e changed the tokenizer not to read ahead before returning a token 2016-09-23 08:56:25 +00:00
hyunghwan.chung
2ea673dc23 fixed some comments 2016-09-23 00:13:02 +00:00
hyunghwan.chung
ab5dee8c77 changed the byte code for push_intlit and push_negintlit.
added a new byte code push_charlit
2016-09-14 04:56:00 +00:00
hyunghwan.chung
0504fbde72 fixed NGC bit handlign macros.
added STIX_LIKELY() and STIX_UNLIKELY() for gcc using __builtin_expect.
2016-09-11 16:42:27 +00:00
hyunghwan.chung
2b97473c5e removed the unneeded code 2016-09-07 07:51:04 +00:00
hyunghwan.chung
155babff74 enhanced line end handling 2016-09-06 16:06:22 +00:00
hyunghwan.chung
d704ce5975 refactored compiler code with some macros 2016-08-29 07:39:09 +00:00
hyunghwan.chung
64395d8815 fixed a compiler to handle imported pool dictionaries properly when extending a class 2016-08-29 06:10:02 +00:00
hyunghwan.chung
ff00284426 added some experimental code 2016-08-23 00:37:22 +00:00
hyunghwan.chung
cba78a7ec0 started adding console primitives 2016-08-20 05:17:47 +00:00
hyunghwan.chung
f82997394d fixed a bug reading a source file 2016-08-15 12:19:04 +00:00
hyunghwan.chung
00b11b74cd added STIX_STACK_SETRETTORCV() 2016-08-13 06:46:14 +00:00
hyunghwan.chung
41d1bb56a0 added some new macros - STIX_STACK_GETRCV(), STIX_STACK_GETARG(), STIX_STACK_SETRET() 2016-08-10 14:41:45 +00:00
hyunghwan.chung
27f00148a1 added a new reserved word - thisProcess 2016-07-05 15:22:29 +00:00
hyunghwan.chung
a22f5ea0ab enhanced unwind handling upon process termination 2016-07-04 15:36:10 +00:00
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
0988fc99f8 fixed a minor flaw in configure.ac 2016-06-24 16:30:29 +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
6a32e4278c removed unneeded code and reimplemented Exception>>retry,resume,return 2016-06-24 14:29:43 +00:00
hyunghwan.chung
544ee2b4ae added more exception handling and ensure implementation code 2016-06-23 15:35:28 +00:00
hyunghwan.chung
9c2c0ea6c2 rewrote some exception and ensure implementation code 2016-06-22 13:43:49 +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
1ab2faaf1f switched more printf() statements to STIX_LOGX() 2016-06-05 18:37:28 +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
7ccd2dad86 added incomplete os2 support code 2016-05-19 13:06:05 +00:00
hyunghwan.chung
9f4433cf98 fixed legacy mac os timer interrupt handling 2016-05-19 11:22:02 +00:00
hyunghwan.chung
c39aa957ad added some support routines for classic mac os 2016-05-19 03:49:23 +00:00
hyunghwan.chung
50776d945f added Semaphore>>forMutualExclusion 2016-05-18 15:10:00 +00:00
hyunghwan.chung
04ccebe9b4 renamed Collection.st to Collect.st 2016-05-18 14:53:20 +00:00
hyunghwan.chung
38ccdbed9d fixed the stack growth issue when manipulating the instruction pointer by intruducing a new primitive method MethodContext>>goto: 2016-05-18 11:10: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
42006f9c32 renamed some source files 2016-05-15 16:01:43 +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
36a54fd29f refreshed whileTrue: and whileFalse: 2016-05-12 05:53:35 +00:00
hyunghwan.chung
197ceb3a76 simplified build files 2016-05-07 02:41:29 +00:00
hyunghwan.chung
4bbd5b52bb removed unneeded text 2016-05-07 01:37:44 +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
93872bd81d redefined Apex>primitiveFailed 2016-05-02 13:59:28 +00:00
hyunghwan.chung
389203b6e4 reset the sender field to stix->_nil when creating a new process over a block context .
touched up exception handling implementation code
2016-05-02 13:50:42 +00:00