ssc/stdlib/common.sun

25 lines
474 B
Text
Raw Normal View History

2015-12-13 02:51:32 +09:00
/* ================================================= *\
* common.sun
*
* ssc standard include utility
2016-01-30 07:07:55 +09:00
* 2015-2016 arookas
2015-12-13 02:51:32 +09:00
\* ================================================= */
// casting
builtin const int(x);
builtin const float(x);
builtin const typeof(x);
2016-02-23 11:05:02 +09:00
var const TYPE_INT = 0;
var const TYPE_FLOAT = 1;
var const TYPE_STRING = 2;
2015-12-13 02:51:32 +09:00
2015-12-29 13:24:08 +09:00
// debug
builtin dump();
builtin print(...);
2015-12-13 02:51:32 +09:00
import "system.sun";
import "talk.sun";
import "sound.sun";
2016-01-30 07:10:04 +09:00
import "scene.sun";