Skip to content
Programming language

HollowScript

HollowScript combines static types with explicit capabilities: the host grants access, and each script declares what it uses. The public preview is available for Apple Silicon macOS, Windows x64 and Linux x64, with a VS Code extension for language tools.

A short HollowScript program that sorts tasks by hours, above the terminal output of hollowscript run, printing three lines.
HollowScript interface preview

Language

Clarity before execution

Every expression has a type known before the program runs. Records, enums, generics and closures keep the language expressive, while optionals and Result make absence and expected failures explicit.

  • Types are checked before execution
  • Values are immutable; variable bindings can be reassigned
  • Complete programs use the .hws file extension

Capabilities

Your application. Their scripts. Your rules.

A script can only print, open a file or reach the network when the host grants the capability and the file declares it with uses. The specification also bounds steps, memory, output and call depth. The native runtime has not yet had its independent security review, so treat isolation for untrusted scripts as a design goal until it has.

  • No ambient access to files, the network or other capabilities
  • Capability calls are marked with effect
  • The host chooses the grants and resource limits

Public preview

A real runtime, ready to explore

The public preview includes signed command line and C SDK archives for Apple Silicon macOS, Windows x64 and Linux x64, with the language server and a public release-source mirror. Interfaces may change before 1.0. Development stays private between releases. Intel macOS and a downloadable browser SDK are not part of this preview.

  • Install and verify the preview from hollowscript.org
  • Read the tour and the complete language specification
  • Hollow uses the native runtime inside Cascade code steps

At a glance

Small language. Clear boundaries.

  • Static typesRecords, enums, generics, closures and type inference, checked before execution.
  • Explicit capabilitiesThe host grants access and the script declares what it uses.
  • EmbeddableA native runtime and C SDK for use inside a host application.
  • Familiar toolsCheck, format, run and build .hws files, with a language server for editor integration.
  • Public previewSigned downloads for Apple Silicon macOS, Windows x64 and Linux x64, with source published for each release.
  • Used in HollowCascade code steps use the native runtime with syntax highlighting and diagnostics.

Explore HollowScript

Start with the tour, read the specification or install the public preview on Apple Silicon macOS, Windows x64 or Linux x64. The HollowScript VS Code extension is available on Marketplace. Open VSX coming soon. Preview interfaces may change before 1.0.

Explore HollowScript