論文の概要: DriftScript: A Domain-Specific Language for Programming Non-Axiomatic Reasoning Agents
- arxiv url: http://arxiv.org/abs/2604.00043v1
- Date: Sun, 29 Mar 2026 12:38:06 GMT
- ステータス: 翻訳完了
- システム内更新日: 2026-04-02 16:44:31.642583
- Title: DriftScript: A Domain-Specific Language for Programming Non-Axiomatic Reasoning Agents
- Title(参考訳): DriftScript: 動的推論エージェントをプログラムするためのドメイン特化言語
- Authors: Seamus Brady,
- Abstract要約: 本稿では、NarseseにコンパイルするLispに似たドメイン固有言語であるDriftScriptを紹介する。
DriftScriptは、Non-Axiomatic Logic (NAL)レベル1から8で使用される主要な文と用語形式をカバーするソースレベル構造を提供する。
- 参考スコア(独自算出の注目度): 0.20305676256390928
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Non-Axiomatic Reasoning Systems (NARS) provide a framework for building adaptive agents that operate under insufficient knowledge and resources. However, the standard input language, Narsese, poses a usability barrier: its dense symbolic notation, overloaded punctuation, and implicit conventions make programs difficult to read, write, and maintain. We present DriftScript, a Lisp-like domain-specific language that compiles to Narsese. DriftScript provides source-level constructs covering the major sentence and term forms used in Non-Axiomatic Logic (NAL) levels 1 through 8, including inheritance, temporal implication, variable quantification, sequential conjunction, and operation invocation, while replacing symbolic syntax with readable keyword-based S-expressions. The compiler is a zero-dependency, four-stage pipeline implemented in 1,941 lines of C99. When used with the DriftNARS engine, DriftScript programs connect to external systems through four structured callback types and an HTTP operation registry, enabling a sense-reason-act loop for autonomous agents. We describe the language design and formal grammar, detail the compiler architecture, and evaluate the compiler through a 106-case test suite, equivalence testing against hand-written Narsese, a NAL coverage analysis, structural readability metrics, and compilation benchmarks. The source code is available at https://github.com/seamus-brady/DriftNARS. This paper focuses on the design and implementation of the DriftScript language and its embedding into DriftNARS, rather than on new inference algorithms for NARS itself.
- Abstract(参考訳): 非軸性推論システム(Non-Axiomatic Reasoning Systems、NARS)は、知識と資源の不足の下で機能する適応エージェントを構築するためのフレームワークを提供する。
しかし、標準的な入力言語であるNarseseは、その密接な記号表記、過剰な句読点、暗黙の規則によってプログラムの読み書きや保守が難しくなるという、ユーザビリティの障壁を生じさせている。
本稿では、NarseseにコンパイルするLispに似たドメイン固有言語であるDriftScriptを紹介する。
DriftScriptは、継承、時間的含意、変数の定量化、逐次接続、操作呼び出しを含む、非軸論的論理(NAL)レベル1から8で使用される主要な文と用語形式をカバーするソースレベルの構成を提供するとともに、シンボリック構文を読みやすいキーワードベースのS表現に置き換える。
コンパイラは、C99の1,941行で実装された、ゼロ依存の4段階パイプラインである。
DriftNARSエンジンで使用する場合、DriftScriptプログラムは4つの構造化コールバックタイプとHTTP操作レジストリを通じて外部システムに接続する。
言語設計と形式文法を記述し、コンパイラアーキテクチャを詳細に記述し、コンパイラを106ケースのテストスイート、手書きのNarseseに対する等価テスト、NALカバレッジ分析、構造的可読性メトリクス、コンパイルベンチマークで評価する。
ソースコードはhttps://github.com/seamus-brady/DriftNARSで入手できる。
本稿では,DriftScript言語の設計と実装と,そのDriftNARSへの埋め込みに焦点を当てる。
関連論文リスト
- ContextCov: Deriving and Enforcing Executable Constraints from Agent Instruction Files [1.3295383263113112]
我々は、受動的エージェント命令をアクティブで実行可能なガードレールに変換するフレームワークであるContextCovを紹介する。
ContextCovは自然言語の制約を抽出し、3つのドメインにわたる強制チェックを合成する。
ContextCovが99.997%の妥当性を持つ46,000以上の実行可能なチェックを抽出した723のオープンソースリポジトリの評価。
論文 参考訳(メタデータ) (2026-02-28T21:56:47Z) - ATLAS: Automated Tree-based Language Analysis System for C and C++ source programs [1.0499611180329804]
本稿では,文レベル制御フローグラフ(CFG)と型認識データフローグラフ(DFG)を生成するPythonベースのコマンドラインインタフェース(CLI)であるATLASを紹介する。
ATLASは、下流のソフトウェアエンジニアリング(SE)と機械学習ベースのプログラム理解を改善するための実践的な基盤を提供する。
論文 参考訳(メタデータ) (2025-12-14T01:11:11Z) - WGRAMMAR: Leverage Prior Knowledge to Accelerate Structured Decoding [58.1177179119881]
我々は、ドメイン認識の単純化、制約分解、マスクキャッシングを統合した軽量デコードエンジンであるwgrammarを紹介する。
wgrammarは、既存のシステムよりも最大250倍のスピードアップを実現します。
論文 参考訳(メタデータ) (2025-07-22T17:13:47Z) - Training Neural Networks as Recognizers of Formal Languages [87.06906286950438]
ニューラルネットワークを文字列のバイナリ分類器として直接訓練し評価する。
3つのニューラルアーキテクチャに対して、チョムスキー階層の様々な言語について結果を提供する。
我々の貢献は、将来の研究において、言語認識の主張を理論的に健全に検証するのに役立つだろう。
論文 参考訳(メタデータ) (2024-11-11T16:33:25Z) - Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages [21.18996339478024]
SPEAC(emphsynthetic programming elicitation and compilation)を紹介する。
SPEACは、より頻繁に、意味的正しさを犠牲にすることなく、構文的に正しいプログラムを生成する。
UCLID5形式検証言語のケーススタディにおいて,SPEACの性能を実証的に評価した。
論文 参考訳(メタデータ) (2024-06-05T22:16:19Z) - Neural Models for Source Code Synthesis and Completion [0.0]
コード提案システムへの自然言語(NL)は、NL発話をコンパイル可能なコードスニペットに変換することで、統合開発環境(IDE)の開発者を支援する。
現在のアプローチは主に意味解析に基づくハードコードなルールベースのシステムである。
我々は,NLを汎用プログラミング言語にマッピングするためのシーケンス・ツー・シーケンス深層学習モデルと訓練パラダイムを提案する。
論文 参考訳(メタデータ) (2024-02-08T17:10:12Z) - LILO: Learning Interpretable Libraries by Compressing and Documenting Code [71.55208585024198]
LILOは、反復的に合成、圧縮、文書化を行う、ニューロシンボリックなフレームワークである。
LILOは、LLM誘導プログラム合成と、Stitchから自動化された最近のアルゴリズムの進歩を組み合わせたものである。
LILOのシンセサイザーが学習した抽象化を解釈し、デプロイするのを手助けすることで、AutoDocがパフォーマンスを向上させることが分かりました。
論文 参考訳(メタデータ) (2023-10-30T17:55:02Z)
関連論文リストは本サイト内にある論文のタイトル・アブストラクトから自動的に作成しています。
指定された論文の情報です。
本サイトの運営者は本サイト(すべての情報・翻訳含む)の品質を保証せず、本サイト(すべての情報・翻訳含む)を使用して発生したあらゆる結果について一切の責任を負いません。