Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.58 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.58 KB

Threadly

GitHub Bun TypeScript NPM

Threadly is a lightweight and modern concurrency scripting language designed to simplify parallel execution and asynchronous programming tasks. It provides a concise syntax and essential built-in actions, making it easy to handle concurrent workflows, execute HTTP requests, manage files, and control timing within your scripts.

View the v1.0.0 roadmap!

Example (Check out examples/)

task log1
    sleep(3000)
    log("Hello World! (hi)")
endtask

task log2
    log("Hi!")
    !log1
endtask

parallel
    !log1
    !log2

Installation

If you haven't already, install Bun to run the interpreter.

bun add --global threadly
bunx --bun threadly --help

Run

For now, as Threadly is in very early beta, you must use Bun to run the interpreter!

bunx --bun threadly --file <file to run here>

Docs

Click me!