?? readme
字號:
J2me game script engine
It's a j2me based script engine. Inclde a java package gscript that let j2me can run a txt script like basic.
Version history:
0.9.0:
Repair bugs:
Change the extended parameter variable name to lower case in start()
Repair calcExprLogImpl() and calcExprNumImpl() bug that can't compute the expression a=(2)
Repair Stdlib.java standard funcation bug that pop parameter sequence error.
Repair load() method bug that error parse the end of script line of rem
0.8.0 :
Changed logic expresion caculate , solved 0.7.0 can't process expression 'a+b>2' , added &|! logic operator that and ,or,not ;
Added datatype logic value true and false;
Changed array definition;
Changed datatype inter restore struct;
Repaired some bugs.
0.7.0 :
there are 2 known issue ,it would be fixed at next version.
* 1. Logic expression must be a >2 like ,can't be : a+b >2 ,because a+b can't compute now .
* 2. array can't be bool type ,can be int (i) or string (s)
-----------------------------------------------------------------
Usage:
1.Made a script Txt file:
'code example s.txt
a=3
b=4
println(a+b)
ret
'code end
2.In application ,Insert follow java code :
//init Interpreter
Interpreter ip=new Interpreter();
//load script file
ip.load("s.txt");
//exucte it
ip.start();
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -