Skip to main content

A reactive programming language

Project description

Whatalang

A programming language built around a single global state with reactive updates.

Features

  • Single global state management
  • Reactive programming
  • Functional operations
  • Simple, readable syntax

Development Status

🚧 In Development - Basic parser and state management

Getting Started

pip install -e .
whatalang example.wa      # With .wa extension
whatalang example.what    # With .what extension  
whatalang example         # Without extension

Syntax Examples

state {
  counter: 0,
  user: { name: "John", age: 30 }
}

set counter = 1
print state

Project Structure

whatalang/      # Main package
├── lexer.py    # Tokenizer
├── parser.py   # Parser and AST
├── state.py    # State management
├── reactive.py # Reactive engine
├── grammar.py  # Language grammar
└── cli.py      # Command-line interface

tests/          # Test suite

Project details


Download files

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

Source Distribution

whatalang-1.0.0.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

whatalang-1.0.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file whatalang-1.0.0.tar.gz.

File metadata

  • Download URL: whatalang-1.0.0.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for whatalang-1.0.0.tar.gz
Algorithm Hash digest
SHA256 460d4bba3d480c77312dfd182af475de5e18bf16b516df72066d95be99c6a2b7
MD5 52ad3dc3fe7a402d98605e4f019b7f56
BLAKE2b-256 6f9f0681669f1ecf0f9d0b26e54ee00d474825d138e0bcfa6e248ba1607fcce2

See more details on using hashes here.

File details

Details for the file whatalang-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: whatalang-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for whatalang-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 792cce65f316439c0af908fb858f2dd36d82b22bf9616f4ae4d51fc7a3204569
MD5 43b6d5fa0f3b0f8530b46a59e89f5bbf
BLAKE2b-256 a61dd1d4420c9484938ef6fed2143bf228c4898e63a30aedd3a8b23253af5222

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