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

File metadata

  • Download URL: stencil_lang-1.1.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f0044ee901c2a5e1a263e960d51b965823eca75e6b442ddb732f97fcbb945690
MD5 f76960f6660c82e7714054274d615cbc
BLAKE2b-256 c19ea1faa6ce7cd8ce38b8008df27daaec2470db7ebc2ac0776652ceede46e35

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