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.2-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.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: stencil_lang-1.1.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2351f6f740f412eb222572be18924acf30979d97d67b81a68fc477b99360eed0
MD5 eef9b117d6617b82f9879c0a4bddd28d
BLAKE2b-256 319547e43dae5781e37889acdc3fd31bb1bf8aef29702a5027fbe92af966acd8

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