Commit Graph

1182 Commits

Author SHA1 Message Date
hyunghwan.chung
dab1972d57 borrowed emulated poll for win32 from gnulib 2018-10-13 13:33:19 +00:00
hyunghwan.chung
78b15bc610 added some win32 specific code 2018-10-13 10:55:38 +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
a21cee67e0 renamed con.c to _con.c tto avoid conflicts with the special file 'con' on microsoft OSes 2018-10-12 15:25:14 +00:00
hyunghwan.chung
64a4e7bc51 put 'static' to internal functions 2018-10-12 09:16:44 +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
a6a2cb2d16 pacified an old c compiler 2018-10-11 23:48:03 +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
9656d87816 added more code to check interface conformance 2018-10-11 13:02:21 +00:00
hyunghwan.chung
d638adc434 simplified code a bit 2018-10-11 10:07:41 +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
2f65380c06 put the method modifiers information into the preamble field of the method signature object from interface definition 2018-10-10 06:12:21 +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
90ed6d91e3 added some interface implementation code 2018-10-09 06:06:32 +00:00
hyunghwan.chung
cde05be1a1 added some code to implement long pending 'interface' 2018-10-08 16:00:14 +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
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
389a7a3d76 enhanced the __int128_t check with extra check against va_arg 2018-06-30 03:46:45 +00:00
hyunghwan.chung
721ce2b540 fixed some comments 2018-06-29 06:14:35 +00:00
hyunghwan.chung
1ad04320ca fixed a compilation issue in moo_sck_addr_len() 2018-06-27 15:57:39 +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
2c6072adf9 regenerated build files 2018-06-19 02:12:03 +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
aa3c15d2a3 added a comment to the compiler fix in the previous commit 2018-06-10 03:21:47 +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