日本数据科学家 Takato Honda(本田崇人)创造了一门名为“Sui”的开源编程语言,宣称可以让 LLM 以 100% 的准确率编写代码。
![]()
据介绍,「粋 (Sui)」名称源于日本美学中“精炼”和“去除冗余”的含义,意为摒弃所有不必要的元素,只保留必需品。其设计原则如下:
- 零语法错误率 —— 结构上没有发生任何语法错误。
- 零拼写错误 —— 变量是数字,不是名称。
- 行级独立性 —— 每一行都是完全独立的。
- 纯逻辑语言 —— 仅用于计算,用户界面可以使用任何框架(React、Vue、Hono.js、原生 JS 等)来实现。
- 针对 token 效率进行优化 —— 一旦 LLM 学习了 Sui,其效率将超越现有语言。
使用示例
# PyPI(基本)
pipinstall sui-lang
# PyPI(WebAssemblyサポート付き)
pipinstall sui-lang[wasm]
# Homebrew (macOS/Linux)
brewtap TakatoHonda/sui
brewinstall sui-lang# ソースから
gitclone https://github.com/TakatoHonda/sui-lang.git
cdsui-lang
# REPL起動
sui# セッション例
>>> = v010
>>> + v1 v05
>>> . v1
>>>
15
>>> .exit
![]()
开源地址:https://github.com/TakatoHonda/sui-lang
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.