Scripting language for Unix pipes
Top 68.7% on sourcepulse
This project provides dt
, a concatenative programming language designed for fast, readable scripting in Unix-like environments. It aims to simplify common command-line tasks and data manipulation within pipes, offering an alternative to shell scripting for more complex operations.
How It Works
dt
is a concatenative, stack-based language with an imperative feel, implemented in Zig. It excels at processing streams of data, allowing users to define custom commands and pipe them together. Its syntax is concise, with features like implicit printing and a REPL for interactive use, making it suitable for both quick scripts and more involved command-line utilities.
Quick Start & Requirements
brew install dt
) or from source. See https://dt.plplumbing/user-guide/install.html.rlwrap
for an enhanced REPL experience.seq 3 | dt rev pls
Highlighted Details
.dt
files.Maintenance & Community
dt
on Discord: https://discord.gg/z4f2j33Licensing & Compatibility
Limitations & Caveats
The dt
User Guide is still in progress, and the current implementation is described as fairly naive.
1 month ago
1 day