SpideyZac / Threadly

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.

Home Page:https://threadly.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

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.

https://threadly.js.org

License:MIT License


Languages

Language:TypeScript 93.2%Language:JavaScript 6.8%