Commit Graph

918 Commits

Author SHA1 Message Date
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
hyunghwan.chung
f7e98b7fc7 renamed stix to moo 2017-01-09 09:54:49 +00:00
hyunghwan.chung
064d02d031 added stix_deletedic() and Dictionary>>removeKey: and its derivatives 2017-01-09 09:11:36 +00:00
hyunghwan.chung
6e335cd4fb added more methods to Dictionary.
made a simple optimization in dic.c
2017-01-06 14:49:42 +00:00
hyunghwan.chung
23d80e77aa added Magnitu.st 2017-01-06 13:30:02 +00:00
hyunghwan.chung
e12245e398 added an equality check primitive function 2017-01-06 13:27:49 +00:00
hyunghwan.chung
0332b5fa5d added the new formatting modifier 'j' for a string and a character to handle the stix_ooch_t type more conveniently 2017-01-06 10:42:59 +00:00
hyunghwan.chung
7779229b52 changed some directives from symbols to plain words including class, method, pooldic, dcl.
introduced stix_pfrc_t as a return code type from a primitive function
2017-01-06 09:53:40 +00:00
hyunghwan.chung
af9c144a1c added Apex>>hash
added Symbol>>asString
revised String>>&
added some methods to Dictionary
2017-01-05 10:16:04 +00:00
hyunghwan.chung
c8f97832c5 added Console.st 2016-12-31 17:22:57 +00:00
hyunghwan.chung
65b230da24 added stix_compoocharsbcstr(), stix_compbcharsbcstr().
added code to handle statically linked modules.
fixed more build issues
2016-12-31 17:19:40 +00:00
hyunghwan.chung
54dd7675b0 fixed a bug in stix_importmod() 2016-12-31 15:52:46 +00:00
hyunghwan.chung
95d8c0dc5a added some module header files 2016-12-31 15:35:19 +00:00
hyunghwan.chung
f124215435 removed unnecesary files 2016-12-31 15:24:17 +00:00
hyunghwan.chung
d85a49e1e1 reworked build files 2016-12-31 15:20:52 +00:00
hyunghwan.chung
2bf8b591cf changed to handle the error literal in the compiler.
added stix_synerrnumtoerrstr().
2016-12-28 19:12:14 +00:00
hyunghwan.chung
eea13c0bd2 added Integer>>priorTo:do:by:
changed the index of Integer>>bitAt: and stix_bitatint() to be 0 based.
added Error>>asCharacter
allowed underscores in integer literals
2016-12-28 13:42:12 +00:00
hyunghwan.chung
d03b97f19d added putc to Stdio.
renamed/refactored some encoding conversion functions.
added stix_errnumtoerrstr().
added generr.st to generate error string code
2016-12-27 18:15:35 +00:00
hyunghwan.chung
a9c48b75e6 introduced the Error class to represent an error code as an object.
rewrote STIX_ASSERT() to call stix_logbfmt() via stix_assertfailed()
2016-12-26 18:44:47 +00:00
hyunghwan.chung
61f2c89aaa started touching up the stdio module 2016-12-24 18:35:23 +00:00
hyunghwan.chung
125eee9bec fixed a bug in passing a wrong number of arguments to a primitive function handler 2016-12-14 09:40:41 +00:00
hyunghwan.chung
45694df56b finished the initial variadic arguments handling work 2016-12-14 07:18:01 +00:00
hyunghwan.chung
bcaf4e5e1e started using a comma as a parameter/argument separator.
changed to use & as a string concatenation method in the string class.
added some code to support variadic arguments
2016-12-13 15:18:19 +00:00
hyunghwan.chung
f88027af32 added two experimental language/compiler enhancements - 1. multi-line comments enclosed in (* and *) 2. unary method and message with parenthensized parameters 2016-12-06 17:21:47 +00:00
hyunghwan.chung
0cc0339158 switched _ to . in a primitive method identifier 2016-12-05 15:44:53 +00:00
hyunghwan.chung
b4a513cf40 added more code to stix_genpfmethod(). still incomplete 2016-12-03 18:08:31 +00:00
hyunghwan.chung
7b5fc708f7 changed the compiler to support module loading in class definition 2016-11-29 05:25:08 +00:00
hyunghwan.chung
394a21b8d6 renamed stix_prim_mod_t to stix_mod_t and made relevant changes
added stix_bcstoucs() and stix_ucstobcs()
added stix_setcmgr() and stix_getcmgr()
2016-11-27 15:37:14 +00:00
hyunghwan.chung
e8985e6dc5 fixed the method lookup bug in exec.c 2016-11-21 13:56:20 +00:00
hyunghwan.chung
eaa9dbc958 experimental code for better module handling 2016-11-18 18:11:13 +00:00
hyunghwan.chung
dab3423f12 interim commit while attempting to primitive calls 2016-11-12 03:02:12 +00:00