Commit Graph

830 Commits

Author SHA1 Message Date
hyunghwan.chung
22013650bb added the jump_backward_if_true instruction.
added more do-while handling code
2017-01-30 16:48:42 +00:00
hyunghwan.chung
341966e373 added a little code for elimination of unneeded code generated 2017-01-29 07:29:58 +00:00
hyunghwan.chung
03ddf6b68d added some code to compile the break statement 2017-01-29 07:14:36 +00:00
hyunghwan.chung
10ca940d72 added small amount of code to handle break & continue 2017-01-27 15:25:46 +00:00
hyunghwan.chung
b7a19a3b14 implemented the while expression handling. break and continue yet to be implemented 2017-01-25 13:57:14 +00:00
hyunghwan.chung
6209b13410 added the local return byte code - BCODE_LOCAL_RETURN -> it returns to the origin of the active context 2017-01-22 18:01:26 +00:00
hyunghwan.chung
e80b2bc572 enhanced the compiler to store some jump positions in a dynamical data structure when parsing the if expresson 2017-01-20 19:19:28 +00:00
hyunghwan.chung
5c6a5f4baf deleted unneeded files 2017-01-19 17:33:27 +00:00
hyunghwan.chung
4a0cefacc3 added a new libltdl m4 file 2017-01-19 17:29:03 +00:00
hyunghwan.chung
c19674ce13 added/deleted new/unneeded files 2017-01-19 17:18:30 +00:00
hyunghwan.chung
002aa9a3f1 changed the compiler to emit PUSH_NIL when the braced block is empty for if 2017-01-19 17:12:16 +00:00
hyunghwan.chung
40ba50fc53 added primitive code to compile the 'if' expression 2017-01-18 17:17:05 +00:00
hyunghwan.chung
4a4d40dea1 enclosed a dyncall related line inside USE_DYNCALL 2017-01-16 14:46:07 +00:00
hyunghwan.chung
bc83b95acb added some argument checks into ffi
added more string manipulation functiions
2017-01-16 14:42:39 +00:00
hyunghwan.chung
70f9976af3 added moo_duputobcharswithheadroom(), moo_dupbtoucharswithheadroom()
added moo_inttoooi() and made public moo_inttooow()
enhanced the ffi module a bit more
2017-01-15 17:53:37 +00:00
hyunghwan.chung
79198df35b added MOO_OBJ_GET_XXX_SLOT() macros 2017-01-12 17:48:04 +00:00
hyunghwan.chung
750f529201 added more string duplication and conversion functions 2017-01-12 16:33:26 +00:00
hyunghwan.chung
ec3285da57 added more character conversion functions 2017-01-12 10:06:43 +00:00
hyunghwan.chung
d130ec02ec added more code to ffi 2017-01-11 15:33:03 +00:00
hyunghwan.chung
f23486468d removed unnecesary code from the ffi module 2017-01-10 14:34:54 +00:00
hyunghwan.chung
808586ca00 added the dyncall library detection into configure.ac 2017-01-10 14:27:31 +00:00
hyunghwan.chung
1612143499 added MOO_IN_SMPTR_RANGE(), MOO_SMPTR_TO_OOP(), MOO_OOP_TO_SMPTR().
refactored ffi a bit more
2017-01-10 13:56:19 +00:00
hyunghwan.chung
faf6ca28e5 added MOO_VMPRIM_OPENDL_PFMOD.
started refactoring ffi handling code
2017-01-10 10:50:26 +00:00
hyunghwan.chung
95885e4dec fixed some wrong code 2017-01-09 14:52:15 +00:00
hyunghwan.chung
cd79383202 simple error handling in write handler 2017-01-09 13:48:33 +00:00
hyunghwan.chung
65f2f862f8 started taking ffi out of the main vm, putting it to a separate module 2017-01-09 13:41:11 +00:00
hyunghwan.chung
2528dcdbe5 changed the compiler to allow assignment to an argument in a method 2017-01-09 13:20:46 +00:00
hyunghwan.chung
7460ce819c renamed *.st files to *.moo 2017-01-09 12:52:37 +00:00
hyunghwan.chung
68a455e128 fixed some build file issues 2017-01-09 12:16:51 +00:00
hyunghwan.chung
b2fb361df4 renamed stix to moo 2017-01-09 10:25:22 +00:00