Skip to content

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.

License

Notifications You must be signed in to change notification settings

SpideyZac/Threadly

Repository files navigation

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.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published