Crates.io | legion-error |
lib.rs | legion-error |
version | 0.0.0 |
source | src |
created_at | 2024-05-14 09:15:55.809832 |
updated_at | 2024-05-14 09:15:55.809832 |
description | High level intermediate representation for Nyar |
homepage | |
repository | https://github.com/nyar-lang/NyarNative |
max_upload_size | |
id | 1239404 |
size | 6,486 |
- source/
- index.vk
- scripts/
- main.vk
- examples/
- main.vk
- benchmarks/
- main.vk
- tests/
- main.vk
main.vk
package.toml
package.lock
readme.md
main.vk
: the default running scriptreadme.md
:legion.json
:scripts
支持 *.vk
, *.wat
, *.wasm
三种格式, 以及目录形式:
scripts/
: executable scripts
text.wat
:single.vk
: a single file scriptnested/
: a directory of scripts
main.vk
: the script entry point比如这个结构体
examples
examples/
: executable scripts
nested/
: a directory of scripts
main.vk
: the script entry point通过 vp 直接运行, 只能用 vp example
命令运行.
默认不打包发布.
tests
和 scripts
目录结构完全相同, 但是无法通过 vp
直接运行, 只能用 vp test
命令运行.
默认不打包发布.
benchmarks
和 scripts
目录结构完全相同, 但是无法通过 vp
直接运行, 只能用 vp benchmark
命令运行.
默认不打包发布.
{
workspace: {
},
package: {
name: "std",
version: "0.0.0",
publish: false,
description: "The standard function library of the Valkyrie language",
authors: [
"Aster <192607617@qq.com>"
],
repository: "https://github.com/oovm/XCell",
documentation: "https://docs.rs/xcell-types",
edition: "2000",
license: "MPL-2.0",
},
features: {
default: [],
},
scripts: {
"command": "running"
},
binaries: {
},
"dependencies": {},
"dependencies-build": {},
"dependencies-debug": {},
// pretty: "path"
pretty: {
// pretty format config, inherit parent
}
}