嵌入式 javascript 引擎:SophonJS
SophonJS 是嵌入式 javascript 引擎。
特點:
-
ECMAScript5 標準
-
占用空間小
-
將源代碼編譯為字節碼指令
-
指令文件存儲和讀取功能
configure:
Edit config.mk file directly.
When you build SophonJS on Linux x86 32 bits platform, change the entry
"ARCH" to:
ARCH:=i686-linux
When you build SophonJS on Linux x86 64 bits platform, change the entry
"ARCH" to:
ARCH:=x86_64-linux
When you build SophonJS on Windows, change the entry "ARCH" to:
ARCH:=mingw32
build:
Run the following command to build:
make
And run the following command to install library, program and header files:
make install
If you want to change the lexical analyzer and parser rule files, you should
download and build libtea firstly: https://github.com/gkmail/tea.git And then run:
make tools
make
examples:
Run the following command to build examples:
make examples 本文由用戶 ygfb 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!