Skip to content

Commit

Permalink
feat: ✨ 新增NARust-158运行时
Browse files Browse the repository at this point in the history
直接使用「原生」接口,对接NARust-158 batch
  • Loading branch information
ARCJ137442 committed Sep 12, 2024
1 parent e0cd1e2 commit 6a8fade
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "babel_nar_cli"
version = "0.1.1"
version = "0.2.0"
edition = "2021"
description = """
Command Line Interface (CLI) of BabelNAR.rs
Expand Down
1 change: 1 addition & 0 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ copy .\executables\ONA.exe .\dist\executables\ONA.exe
copy .\executables\opennars-158-shell.jar .\dist\executables\opennars-158-shell.jar
copy .\executables\opennars-304-T-modified.jar .\dist\executables\opennars-304-T-modified.jar
copy .\executables\opennars-matriangle-test.log.json .\dist\executables\opennars-matriangle-test.log.json
copy .\executables\narust_158_batch.exe .\dist\executables\narust_158_batch.exe

echo Build Successfull!
sleep 1
15 changes: 15 additions & 0 deletions config_public/cin_narust_158.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#hjson
// * 🎯用于测试NARust-158
// * ✨纯Rust编写的完整OpenNARS 1.5.8复刻版本
{
description: NARust-158(纯Rust编写,支持原生接口)
translators: native
command: {
// * ⚠️必须前缀`./`以指定是「启动当前工作目录下的exe文件」
cmd: ./narust_158_batch.exe
cmdArgs: []
// 启动目录
currentDir: ./../executables
}
autoRestart: true
}

0 comments on commit 6a8fade

Please sign in to comment.