⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 A very smaller script interpretor that java based system. Can work on j2se / j2me / win C++ platform
💻
字号:
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 + -