Skip to main content

STencil — a general-purpose programming language with first-class data templates (stencils). By Kitteniverse Studios.

Project description

STencil

A general-purpose programming language with a signature feature: first-class data templates (stencil). By Kitteniverse Studios.

Install

pip install stencil-lang

Use

stencil program.st        # run a file
stencil                    # REPL
stencil -c "print(1 + 2)"  # one-liner
stencil build app.st -o app.exe   # native compile (subset)

A taste

stencil User(name, age) {
    name: name,
    adult: age >= 18,
    tag: name + "#" + age
}
let u = User!("Emir", 20);
print(u.tag, u.adult);   // Emir#20  true

Has: functions, OOP (class/model), lists/dicts, modules, file I/O, JSON, regex, HTTP, date/time, terminal + pixel graphics, and the unique stencil templates.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stencil_lang-1.0.0-py3-none-win_amd64.whl (2.1 MB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file stencil_lang-1.0.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: stencil_lang-1.0.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for stencil_lang-1.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 05400d08efc4b9c0a496f77e785a09ca10e26e752bc42e98b5febadd7d0c0ef0
MD5 b8d078b775b008363af28b539680ca86
BLAKE2b-256 7659292db663ecc7e0ad07daaa1aa60dbedaebd547a35f116a87d81e2bc2e702

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page