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.1.0-py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 3Windows x86-64

File details

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

File metadata

  • Download URL: stencil_lang-1.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.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.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e27b4d9f64b771f39077404ca3fc6216d60bbb0bed31fe086d26ac63c8635ee1
MD5 e4f2f118112ce773be3a41ef658ebbbd
BLAKE2b-256 78ae3cc5a46345fb429155512b0985c65bad950a2bb4637522f5518a5406e665

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