Commit Graph

710 Commits

Author SHA1 Message Date
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
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
a6d72b928c added new keywords to the compiler - ifnot, elsifnot 2018-06-19 16:11:20 +00:00
2c6072adf9 regenerated build files 2018-06-19 02:12:03 +00:00
8b7eebd654 added some partial utf8 related primitives 2018-06-17 17:41:04 +00:00
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
69bdd55579 fixed output of array and byte array literals 2018-06-13 16:43:19 +00:00
34ee56784d added copyFrom:count: to ByteArray 2018-06-12 10:17:32 +00:00
aa3c15d2a3 added a comment to the compiler fix in the previous commit 2018-06-10 03:21:47 +00:00
48bdf7df2c fixed a slight bug in parsing 'and' and 'or' in compile_basic_expression().
writing SocketStream
2018-06-09 16:48:18 +00:00
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
8965720926 added two new keywords (and, or) for logical operations. work in progress 2018-05-30 11:31:26 +00:00
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
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
90e6e6c8cf implemented more methods for OrderedCollection 2018-05-24 10:10:52 +00:00
f3fc35fc02 removed a comma from moo_semaphore_io_type_t enumerator list 2018-05-19 14:29:07 +00:00
b99f66996a fixed a few syntax issues with some old compilers.
added some code for os2
2018-05-18 16:41:45 +00:00
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
4da0731312 migrated semaphore signal/unsignal methods from System to Semaphore 2018-05-18 08:10:16 +00:00
faef93e7d7 export moo_backtrace()
added textual description for semaphore's io type
2018-05-17 15:33:36 +00:00
70f17d8896 changed code to lower the number of instance variables of the Semaphore class 2018-05-17 10:21:22 +00:00
ca12fc082f added moo_deregallfinalizables()
removed some unused code
2018-05-16 08:03:34 +00:00
f260c04b4e changed the order of listen and multiplexer registeration to avoid spurious hangup event 2018-05-16 07:03:01 +00:00
da0b655d40 Added asyncsg field into Process 2018-05-15 16:38:37 +00:00
2d24c53481 interim commit 2018-05-15 10:11:28 +00:00
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
1c68849fa0 added more http server code 2018-05-13 16:28:22 +00:00
204a6b16b9 minor code cleanup 2018-05-07 17:28:47 +00:00
b891d31e8b added the mod parameter to primitive functions 2018-05-07 16:52:51 +00:00
a78594d24f changed the compiler to set bytearray literals and array literals read-only in more contexts 2018-05-07 14:33:07 +00:00
ff1d47dd15 more async socket code 2018-05-02 16:36:56 +00:00
acb71f521c work in progress. trying a different way of implementing async socket 2018-05-02 09:53:02 +00:00
216e7f3b15 fixed the stack frame dump function.
fixed a fault in configure.ac
2018-04-26 06:39:47 +00:00
2218e61faa added static to backtrace_stack_frames() 2018-04-26 04:46:41 +00:00
e2a9e2c66f introduced the new type moo_bitmask_t 2018-04-26 04:44:01 +00:00
2467b4212a added backtracing code using libunwind 2018-04-26 03:17:54 +00:00
a7df146e9e added libunwind detection to configure.ac 2018-04-25 15:25:53 +00:00
a18f4bec7d called lt_dlexit() from more code points 2018-04-25 04:18:51 +00:00
b4de6c7926 a bit of experiments with semaphores for socket writing 2018-04-19 15:34:25 +00:00
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
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
0d40016fa1 added some experimental code 2018-04-13 10:14:12 +00:00
7b114e3b27 touched up code more for async handling debugging 2018-04-12 16:05:46 +00:00
3c0d1d3481 broke some single line type defintions into multiple lines 2018-04-12 09:36:09 +00:00
cc0c6ed654 renamed OPENDL_PFMOD to DLOPEN_PFMOD 2018-04-12 02:49:22 +00:00
ad04eaa7b1 added MOO_MOD_INDEX 2018-04-09 16:31:11 +00:00
231610a884 fixed build files 2018-04-09 06:21:59 +00:00
c85bf336ad changed the error literal notation from error(NNN) to #\NNN.
prohibited the backslash character from forming a binary selector.
renamed quo: to div:, // to mdiv:, \ to mod:
2018-04-08 17:47:38 +00:00
8a6e2c601c renamed some function names for naming consistency 2018-04-07 15:54:09 +00:00
cf5c9d0461 added moo_sqrtint() and moo_absint() 2018-04-07 06:29:17 +00:00