百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

mlatu

> 编程语言
开源

一种声明式串联式编程语言

175 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一种声明式串联式编程语言

mlatu

mlatu is a declarative and concatenative programming language. It uses term rewriting as an evalutation model.

Table of Contents

  • mlatu
    • Table of Contents
    • Introduction
    • Installation
    • Usage
    • Known issues and limitations
    • Getting help
    • Contributing
    • Acknowledgements
    • License

Introduction

mlatu is a concatenative programming language; you can concatenate two programs and the result will be the concatenation of the programs' individual results. It is declarative: instead of telling the implementation what to do, one tells the implementation what is. mlatu is evaluated via a term-rewriting system and so all expressions are referentially transparent, evaluating to the same result each time they are written.

Installation

First, you need to have Rust and Erlang (and Clang on Windows) installed on your system and in your PATH. To install Rust, follow the instructions at . To install Erlang, you can find a download at . To install Clang on Windows, you can find a download link at (make sure you set LIBCLANG_PATH environment variable to the bin directory of that download).

bash
git clone https://github.com/mlatu-lang/mlatu 
cd mlatu 
cargo install --path .

Usage

Running mlatu will start up an interactive TUI with structured input. The input is entered and manipulated on the left side, and the rewritten form will appear on the right side. where toplevel terms can be typed and their respective reductions will be printed out. If any arguments are given, they are interpreted as files containing additional rewrite-rules to load. ESC to close the TUI.

Running mlatu edit will open a structured editor for the rules contained in that file. You will be able to see and manipulate both the left (pattern) and right (replacement) sides. You can also navigate between rules and manipulate the rules just as you would terms. CTRL-W to save and ESC to close the TUI.

Known issues and limitations

Currently, there is no way of doing I/O (input and output). This is a top priority and will be resolved as soon as a suitable model for interacting with the rewriting system is chosen.

Another issue is the lack of true patterns and a type system. Several solutions to this issue are currently being investigated, we would love any ideas or feedback on the Discord server.

Getting help

There are a couple ways to get help if you have questions, thoughts, or issues. The GitHub issue tracker () is the best place to submit issues or bug reports. If you have a thought, suggestion, question, or just want to chat about mlatu, there is a small Discord server at .

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

See this guide for more specific and detailed development workflows.

Acknowledgements

mlatu is inspired by a number of pre-existing concatenative and term-rewriting languages. These include but are not limited to, Kitten, Cat, Factor, Forth, min, Joy, TXL, META II, Pure, Clean, Refal, and Prolog. The structured editor is heavily inspired by Sapling.

License

mlatu, like all mlatu-lang projects, is licensed under https://mlatu-lang.github.io/license/

Issues· 2 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustconcatenativeconcatenative-programming-languageinterpreterlanguage

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言