260 Commits

Author SHA1 Message Date
hyunghwan.chung
fc3a725bb8 renamed moo_pushtmp()/poptmp()/poptmps() to moo_pushvolat()/popvolat()/popvolats() 2018-12-28 08:29:27 +00:00
hyunghwan.chung
3e623c6677 added more test cases 2018-12-23 16:44:47 +00:00
hyunghwan.chung
981882de7e check smptr check in pf_call() in ffi.c
changed FFI>>call:signature:arguments: to throw an FFIException exception upon failure
added FFIException
2018-12-22 08:37:18 +00:00
hyunghwan.chung
f69b4c0881 a few more test cases 2018-12-21 16:58:58 +00:00
hyunghwan.chung
7b7906bf09 define private prototypes of moo_sprintfmtst() and moo_sproutbfmt() 2018-12-21 16:40:20 +00:00
hyunghwan.chung
71a617b95b enhanced moo_inttostr() with 2 new flags - MOO_INTTOSTR_LOWERCASE and MOO_INTTOSTR_NONEWOBJ
redefined bigint and fpdec check macros
added the strfmt primitive to String
2018-12-21 16:25:25 +00:00
hyunghwan.chung
3b49f6998a reverted previous changed done for testing and debugging 2018-12-20 16:11:52 +00:00
hyunghwan.chung
9a4bbcaa4c fixed wrong computation of buffer capacity for moo->inttostr.xbuf and moo->inttostr.t
updated some sample code
fixed a few flaws in ffi.c
2018-12-20 16:08:56 +00:00
hyunghwan.chung
936b9179ed restored some sample moo code files 2018-11-06 06:26:34 +00:00
hyunghwan.chung
65a702a88b enhanced callback functions for os2 2018-11-06 06:24:59 +00:00
hyunghwan.chung
852349b26c allowed interface specification in extending a class. e.g. extend ClassName [Interface1,Interface2,etc] { ... } 2018-10-12 15:57:58 +00:00
hyunghwan.chung
18b270529c added moo_findmethodinclasschain()
added MOO_SYNERR_CLASSNCIFCE
finished implementing interface conformance check primitively
2018-10-12 09:09:45 +00:00
hyunghwan.chung
c6c3739572 added moo_walkdic() for internal use
added incomplete interface implementation check
2018-10-11 14:03:16 +00:00
hyunghwan.chung
1cbe741508 added some code to check interface conformance of a class 2018-10-11 10:01:34 +00:00
hyunghwan.chung
6676e349ca added some more code to store interfaces specified in the implementing class 2018-10-10 08:55:11 +00:00
hyunghwan.chung
653b99545f added the method signature class internally to support interface implementation 2018-10-10 04:23:44 +00:00
hyunghwan.chung
1a43722da1 fixed error literals in test-014.moo 2018-10-09 15:27:35 +00:00
hyunghwan.chung
4ae2ae6f88 added much more code to implement interface. still work in progress 2018-10-09 15:21:58 +00:00
hyunghwan.chung
b16347e2d9 updated the X11.moo sample code 2018-10-08 13:17:11 +00:00
hyunghwan.chung
9ad9299dea allowed class and class extension nesting inside a class 2018-10-08 06:51:31 +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
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
389a7a3d76 enhanced the __int128_t check with extra check against va_arg 2018-06-30 03:46:45 +00:00
hyunghwan.chung
b100f9a46b added add: to AssociativeDictionary, hence effectively to Dictionary 2018-06-27 14:40:31 +00:00
hyunghwan.chung
50e9103593 added description to KeyNotFoundException raised 2018-06-26 16:22:16 +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
da33ecc167 fixed redundant calls made by the new message to some collection classes including Set, AssociativeCollection 2018-06-22 15:27:38 +00:00
hyunghwan.chung
7689de7dfa implemented removal methods in the Set class 2018-06-22 15:14:56 +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
913f5f6918 added add: and addAll: to OrderedCollection 2018-06-19 17:13:20 +00:00
hyunghwan.chung
d8c0453ddd changed System signal: to aSemaphore signal: 2018-06-19 16:58:04 +00:00
hyunghwan.chung
a6d72b928c added new keywords to the compiler - ifnot, elsifnot 2018-06-19 16:11:20 +00:00
hyunghwan.chung
8536099e74 copying fcgi code from https://github.com/NicolasPetton/fcgi 2018-06-18 14:32:31 +00:00
hyunghwan.chung
6d5b6cad00 added some code to Fcgi 2018-06-17 17:53:30 +00:00
hyunghwan.chung
8b7eebd654 added some partial utf8 related primitives 2018-06-17 17:41:04 +00:00
hyunghwan.chung
16ebf93744 added the Fcgi.moo file 2018-06-17 04:47:57 +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
b71853b134 added Stream.moo 2018-06-09 16:48:36 +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
fc6f8bbb70 added more methods to OrderedCollection 2018-05-27 16:46:49 +00:00
hyunghwan.chung
370503b4a0 added removeFirst: and removeLast: to OrderedCollection 2018-05-26 03:39:58 +00:00
hyunghwan.chung
4c8797e8ad worked on OrderedCollection.st 2018-05-25 17:56:08 +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
29a5f0716d started adding OrderedCollection 2018-05-22 16:22:32 +00:00