-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Block is a local-first polyglot programming engine. It lets one readable script coordinate Python, JavaScript, Lua, PHP, SQL, PowerShell, and other host runtimes while passing explicit serializable state between stages.
Many useful workflows are already written in more than one language. Block keeps those tools instead of forcing a rewrite:
- one entry point for the whole workflow;
- explicit language boundaries such as
<py>,<js>, and<json>; - a shared state pipeline for plain data;
- syntax checking before execution;
- native Block control flow for small tasks that need no external runtime.
Block is an orchestrator with a native language core. It does not replace the standard libraries or package ecosystems of Python, JavaScript, or other runtimes.
- Download the edition that matches your use case from the repository releases.
- Install the host runtimes required by your script.
- Save a file as
hello.blk:
<py>
message = "Hello from Python"
</py>
<js>
console.log(message)
</js>
- Check and run it:
block check .\hello.blk
block run .\hello.blkSource, examples, release files, and issue tracking are available in the GitHub repository.
Block is developed through human direction and AI-assisted implementation. Changes are reviewed as source code, tested where possible, and documented with their limitations.
Block Wiki