669 Commits

Author SHA1 Message Date
hyunghwan.chung
9ad9299dea allowed class and class extension nesting inside a class 2018-10-08 06:51:31 +00:00
hyunghwan.chung
e7265f44bc made required changes to get rid of moo->c->cclass and moo->c->cpooldic.
changed the compiler to allow a pooldic nested in a class
2018-10-07 05:34:13 +00:00
hyunghwan.chung
079f2d3f4a reorganized the compiler code by moving the method data into the cunit_class 2018-10-05 16:25:17 +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
7b5462ca26 changed the compiler structure a bit for planned architectural change of the compiler 2018-09-30 16:06:19 +00:00
hyunghwan.chung
024976295e Added the Interface class for a start 2018-07-08 17:13:10 +00:00
hyunghwan.chung
78a8fb2274 work in progress - enhancing the compiler to implement 'interface' 2018-07-04 08:27:13 +00:00
hyunghwan.chung
721ce2b540 fixed some comments 2018-06-29 06:14:35 +00:00
hyunghwan.chung
b100f9a46b added add: to AssociativeDictionary, hence effectively to Dictionary 2018-06-27 14:40:31 +00:00
hyunghwan.chung
c25bf15b21 fixed a compiler bug in handling 'and' and 'or' - it didn't emit POP_STACKTOP after JUMP_FORWARD_IF_XXX.
improved some methods in some collection classes
2018-06-24 16:47:55 +00:00
hyunghwan.chung
b9500933b8 renamed SymbolSet to SymbolTable.
added some exception classes to use when something is not found.
renamed Set to AssociativeCollection and started writing a new Set class
2018-06-20 18:01:04 +00:00
hyunghwan.chung
a6d72b928c added new keywords to the compiler - ifnot, elsifnot 2018-06-19 16:11:20 +00:00
hyunghwan.chung
2c6072adf9 regenerated build files 2018-06-19 02:12:03 +00:00
hyunghwan.chung
8b7eebd654 added some partial utf8 related primitives 2018-06-17 17:41:04 +00:00
hyunghwan.chung
ca9cc763d9 fixed a compiler bug in compile_expression_primary. before the fix, the compiler could treat an undotted identifier as dotted.
changed a few primitive function names in sck.c
wrote some methods for ByteStream
2018-06-16 16:45:17 +00:00
hyunghwan.chung
69bdd55579 fixed output of array and byte array literals 2018-06-13 16:43:19 +00:00
hyunghwan.chung
34ee56784d added copyFrom:count: to ByteArray 2018-06-12 10:17:32 +00:00
hyunghwan.chung
aa3c15d2a3 added a comment to the compiler fix in the previous commit 2018-06-10 03:21:47 +00:00
hyunghwan.chung
48bdf7df2c fixed a slight bug in parsing 'and' and 'or' in compile_basic_expression().
writing SocketStream
2018-06-09 16:48:18 +00:00
hyunghwan.chung
e074607a00 renamed jump_xxxward_if_xxx to jumpop_xxxward_if_xxx because it does pop the stack top.
added jump_forward_if_true, jump_forward_if_fase, jump2_forward_if_true, jump2_forward_if_false to use with the and and or logical operation keywords
2018-05-30 15:32:09 +00:00
hyunghwan.chung
8965720926 added two new keywords (and, or) for logical operations. work in progress 2018-05-30 11:31:26 +00:00
hyunghwan.chung
81e2cc0578 fixed MOO_SMOOI_TO_OOP to pacify clang about the warning 'warning: shifting a negative signed value is undefined' 2018-05-28 09:48:27 +00:00
hyunghwan.chung
d1cfaed466 fixed a compiler bug in handling 'super' with multiple messages sent at the same time as in 'super abc + 10' 2018-05-25 10:19:25 +00:00
hyunghwan.chung
90e6e6c8cf implemented more methods for OrderedCollection 2018-05-24 10:10:52 +00:00
hyunghwan.chung
f3fc35fc02 removed a comma from moo_semaphore_io_type_t enumerator list 2018-05-19 14:29:07 +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
4a73109340 renamed various socket functions
fixed a buggy condition that prevented moo->sem_io_wait_count from being decremented in signal_semaphore()
2018-05-18 09:08:05 +00:00
hyunghwan.chung
4da0731312 migrated semaphore signal/unsignal methods from System to Semaphore 2018-05-18 08:10:16 +00:00
hyunghwan.chung
faef93e7d7 export moo_backtrace()
added textual description for semaphore's io type
2018-05-17 15:33:36 +00:00
hyunghwan.chung
70f17d8896 changed code to lower the number of instance variables of the Semaphore class 2018-05-17 10:21:22 +00:00
hyunghwan.chung
ca12fc082f added moo_deregallfinalizables()
removed some unused code
2018-05-16 08:03:34 +00:00
hyunghwan.chung
f260c04b4e changed the order of listen and multiplexer registeration to avoid spurious hangup event 2018-05-16 07:03:01 +00:00
hyunghwan.chung
da0b655d40 Added asyncsg field into Process 2018-05-15 16:38:37 +00:00
hyunghwan.chung
2d24c53481 interim commit 2018-05-15 10:11:28 +00:00
hyunghwan.chung
10dff52d58 introduced the notation for a smptr literal - #\pXX.
changed the error listeral notation to #\eNN fro #\NN
2018-05-13 18:55:22 +00:00
hyunghwan.chung
1c68849fa0 added more http server code 2018-05-13 16:28:22 +00:00
hyunghwan.chung
204a6b16b9 minor code cleanup 2018-05-07 17:28:47 +00:00
hyunghwan.chung
b891d31e8b added the mod parameter to primitive functions 2018-05-07 16:52:51 +00:00
hyunghwan.chung
a78594d24f changed the compiler to set bytearray literals and array literals read-only in more contexts 2018-05-07 14:33:07 +00:00
hyunghwan.chung
ff1d47dd15 more async socket code 2018-05-02 16:36:56 +00:00
hyunghwan.chung
acb71f521c work in progress. trying a different way of implementing async socket 2018-05-02 09:53:02 +00:00
hyunghwan.chung
216e7f3b15 fixed the stack frame dump function.
fixed a fault in configure.ac
2018-04-26 06:39:47 +00:00
hyunghwan.chung
2218e61faa added static to backtrace_stack_frames() 2018-04-26 04:46:41 +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
a7df146e9e added libunwind detection to configure.ac 2018-04-25 15:25:53 +00:00
hyunghwan.chung
a18f4bec7d called lt_dlexit() from more code points 2018-04-25 04:18:51 +00:00
hyunghwan.chung
b4de6c7926 a bit of experiments with semaphores for socket writing 2018-04-19 15:34:25 +00:00
hyunghwan.chung
df5b9301dc enhanced the compiler to compile byte array expression.
added MAKE_BYTEARRAY and POP_INTO_BYTEARRAY byte codes
2018-04-19 09:48:45 +00:00
hyunghwan.chung
a5328db569 aded a field to hodl the total number of semaphores in SemaphoreGroup
changed await_semaphore_group() to return failure if no member semaphore exists
2018-04-15 16:24:31 +00:00