ZetaVM動態(tài)編程語言虛擬機
ZetaVM 是動態(tài)編程語言的虛擬機和JIT編譯器。 它實現(xiàn)了一個基本的核心運行時環(huán)境,其中編程動態(tài)語言可以用相對較少的精力實現(xiàn)。
特點:
支持動態(tài)打字
垃圾收集
JIT 編譯
動態(tài)生長對象(類似 JS)
動態(tài)類型的數(shù)組(JS / Python 類)
64 位整數(shù)和浮點運算
不可變 UTF-8 字符串
基于文本的圖像文件(類似 JSON)
能夠暫停和恢復(fù)程序
圖形和音頻庫
安裝及基本使用:
# Clone this repository git clone [email protected]:maximecb/zetavm.git # Run the configure script and compile zetavm # Note: run configure with `--with-sdl2` to build graphics support cd zetavm ./configure make # Optionally run tests to check that everything works properly make test # To run programs, pass the path to a source file to zetavm, for example: ./zeta benchmarks/fib29.pls
評論
圖片
表情
