Skip to main content

Silem

A simple, independent programming language.

Silem is a small programming language designed to be simple, readable, and independent.

It is built from the ground up with its own syntax, lexer, parser, runtime, and language rules.

Why Silem?

Silem is not designed to be another Python clone.

The goal is simple:

Easy-to-read syntax Small and understandable language design Independent grammar Lightweight interpreter Useful for learning how programming languages work Easy to experiment with and extend Example show "Hello, world!" set name "Silem" show name Variables set x 10 set y 20 show x + y Conditions set age 18 if age >= 18 show "Adult" else show "Not adult" end Loops set count 0 while count < 5 show count set count count + 1 end Functions func greet name show "Hello, " + name end greet "Silem" Language Structure

Silem follows a traditional interpreter pipeline:

Source Code ↓ Lexer ↓ Tokens ↓ Parser ↓ AST ↓ Runtime ↓ Output

The language is intentionally separated into components so that the implementation can evolve without turning into one enormous pile of code.

Core Features

Current / planned language features include:

Variables Numbers Strings Booleans Null values Lists Arithmetic operators Comparison operators Logical operators if / else while Functions return Comments REPL Command-line execution Custom language errors File Extension

Silem source files use:

.silem

Example:

hello.silem main.silem example.silem Project Structure Silem-Language/ ├── silem/ │ ├── ... │ ├── test/ │ ├── ... │ ├── examples/ │ ├── ... │ ├── bin/ │ ├── ... │ ├── pyproject.toml ├── README.md └── ...

The exact structure may change as Silem develops.

Installation

Once published on PyPI:

pip install silem

You can then use the Silem command-line interface provided by the package.

Silem is currently under development, so installation and CLI commands may change between versions.

Development

Clone the repository:

git clone https://github.com/VoNguyenPhong-Kids11Ages/Silem-Language.git cd Silem-Language

Install the project in development mode:

pip install -e .

Run the test suite:

python -m pytest Design Philosophy

Silem follows a few simple principles:

  1. Silem should be Silem

The language does not exist to imitate Python, JavaScript, C, or another language.

  1. Keep the core understandable

The implementation should remain understandable instead of hiding everything behind unnecessary complexity.

  1. Syntax should have a reason

New syntax should exist because it makes the language better, not simply because another language already has it.

  1. Build before expanding

The core interpreter comes first.

More advanced features can come later.

Status

Silem is currently under active development.

The language specification, syntax, interpreter, standard library, and package structure may change before the first stable release.

Current target:

Silem 0.1.0 Roadmap [x] Initial language project [x] GitHub repository [ ] Stable lexer [ ] Stable parser [ ] AST [ ] Runtime [ ] REPL [ ] CLI [ ] Test suite [ ] Documentation [ ] PyPI release [ ] Silem 0.1.0 [ ] Future standard library Contributing

Silem is a small experimental language project.

Issues, bug reports, ideas, and improvements are welcome.

Before contributing major syntax changes, please make sure the proposed feature fits Silem's design philosophy.

License

See the LICENSE file for the project's current license.

Silem

A programming language that is intentionally its own thing.

Metadata

Release files for silem 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for silem 0.1.0
File Size Uploaded Provenance Actions
silem-0.1.0.tar.gz 20.9 kB With provenance Details for silem-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for silem 0.1.0
File Interpreter ABI Platform Actions
silem-0.1.0-py3-none-any.whl Python 3 none any Details for silem-0.1.0-py3-none-any.whl

Total release size: 41.0 kB

Release files / silem-0.1.0.tar.gz

Download URL silem-0.1.0.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f847874c1d1953c75bc252152b7f098d81658d07e6fde8666744ee7547328571
BLAKE2b-256 checksum
How to use checksums
af05c2d50b37b9830a66fb15df9895e460f4bf148bec49872cb748cbdf6e2534
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / silem-0.1.0-py3-none-any.whl

Download URL silem-0.1.0-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a028b6a4db810121073f7b94330b85e1e14c59f4fb0de82274a261a4cb0df48
BLAKE2b-256 checksum
How to use checksums
2e70b77eb6cb09c455a28d3416d454d4024af42dd9eeb8f3018a9f3849602afd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Security for silem 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for silem-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page