Socket
Book a DemoInstallSign in
Socket

whatalang

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whatalang

A reactive programming language

pipPyPI
Version
1.0.0
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts