Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Theia Programming Language and Web Studio Platform (v1.0)

Theia is a full-stack, dataflow-oriented programming language that unifies database modeling, backend server functions, and reactive frontend user interfaces in a single end-to-end type-safe system.

The project includes Theia Studio, an interactive visual Web Builder platform in the browser that allows users to create, customize, and publish websites using the Theia language compiler.


Key Features

  • Single Source of Truth: A single .theia file defines data models, server functions, and reactive client components.
  • Language-Integrated Query: Native relational database queries without ORM or raw SQL strings.
  • Fine-Grained Reactivity: Native Signal and Store reactivity without Virtual DOM overhead.
  • Strict Type Safety: Explicit null safety, Result<T, E> error handling with try operator, and deferred memory cleanup.
  • Theia Studio: Visual drag-and-drop web builder with two-way code synchronization and one-click live publishing.

CLI Usage Guide

1. Launch Theia Studio (Visual Web Builder)

python main.py studio

Access the Studio Dashboard at: http://localhost:3030

2. Launch Live Dev Server

python main.py dev examples/news_portal.theia

Access the Live Application at: http://localhost:8000

3. Run Built-in Unit Tests

python main.py test examples/ecommerce.theia

Repository Structure

New Lang/
├── theia/                   # Core Compiler Package & Studio Engine
│   ├── tokens.py            # Token definitions
│   ├── lexer.py             # Lexical analyzer
│   ├── ast_nodes.py         # Abstract Syntax Tree node definitions
│   ├── parser.py            # Recursive descent parser
│   ├── type_checker.py      # Static semantic & type analyzer
│   ├── compiler.py          # Transpiler engine (SQL, Python, JS)
│   ├── studio_engine.py     # Studio visual layout code generator
│   └── studio_server.py     # Studio HTTP API server
├── studio_static/           # Visual Drag & Drop Builder UI
│   ├── index.html           # Studio Canvas & Inspector Dashboard
│   └── studio_app.js        # Studio client-side interaction engine
├── examples/                # Example applications (.theia)
│   ├── news_portal.theia    # News Portal application
│   ├── ecommerce.theia      # E-Commerce application
│   └── todo_app.theia       # Todo List application
├── output/                  # Generated build artifacts (ignored by git)
├── main.py                  # CLI Command Line Interface entry point
├── .gitignore               # Git ignore rules
└── README.md                # Project documentation

License

MIT License.

About

Full-stack dataflow programming language for reactive web applications with native database queries, end-to-end type safety, and an interactive Wix-like Web Builder Studio.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages