dt  by so-dang-cool

Scripting language for Unix pipes

created 2 years ago
444 stars

Top 68.7% on sourcepulse

GitHubView on GitHub
Project Summary

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

Highlighted Details

  • Supports shebang scripting for standalone .dt files.
  • Interactive REPL mode for experimentation.
  • Concise syntax with shorthands for common operations like printing.
  • Implemented in Zig, with a focus on performance and memory management.

Maintenance & Community

Licensing & Compatibility

  • Distributed under the 3-Clause BSD License.
  • Permissive license suitable for commercial use and integration into closed-source projects.

Limitations & Caveats

The dt User Guide is still in progress, and the current implementation is described as fairly naive.

Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
1
Star History
8 stars in the last 90 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Stas Bekman Stas Bekman(Author of Machine Learning Engineering Open Book; Research Engineer at Snowflake), and
21 more.

guidance by guidance-ai

0.1%
21k
Guidance is a programming paradigm for steering LLMs
created 2 years ago
updated 2 days ago
Feedback? Help us improve.