【文件属性】:
文件名称:朵拉:朵拉VM
文件大小:1.59MB
文件格式:ZIP
更新时间:2021-01-31 11:33:52
rust compiler assembly x86-64 jit
多拉
在Rust中实现的Dora编程语言的JIT编译器。 适用于Linux,Windows和macOS(x86_64和aarch64)。 构建:
依存关系
您需要安装以下依赖项:
# on Fedora
$ sudo dnf install ruby
# on Ubuntu/Debian
$ sudo apt install ruby
用于运行测试。
编译与测试
每晚通过安装Rust。 使用文件中列出的特定夜间版本。 朵拉只是用cargo来建造:
# build in debug and release mode
cargo build && cargo build --release
# run all tests in debug and release mode
tools/test && tools/test-release # Linux and macOS
tools/test.bat && tools/test-release.bat # Windows
在标准库上工作
在编译时,标准库(stdlib)包含在dora -binary中。 因此,即使stdlib是用D