A compiled web programming language built on the shoulders of KDX.
WebX is a fork of KDX (KodPix), a compiled language and toolchain written in x86-64 NASM assembly by Yug Merabtene. KDX provides the foundation: a compiler pipeline (.webx -> .s/.o -> ELF binary), lexer, parser, AST, semantic analysis, and code generation -- all in assembly.
WebX takes this architecture and redirects it toward the web. The goal is to let you write business logic, CSS styling, and JavaScript interactivity in a single compiled language, then output HTML, CSS, and JavaScript. The compiler backend stays in assembly for performance.
This project would not exist without Yug Merabtene's work on KDX. The compiler architecture, the assembly-first approach, and the quality gates are all inherited from KDX.
- A compiled programming language with C-like syntax
- Compiler written in x86-64 NASM assembly (inherited from KDX)
- Targets web output: HTML structure, CSS styling, JavaScript behavior
- Also supports native binary output (Linux ELF, like KDX)
- Write one source file, get a complete web page or native program
src/ Compiler source (NASM assembly)
lib/ Standard library modules
docs/ Language reference, design docs
examples/ Example WebX programs
quick_tests/ Test scripts
- Linux x86-64
- NASM 2.15+
- GNU ld (binutils)
./build.sh# Native binary
./webx examples/hello.webx -o hello
# Web output (HTML/CSS/JS)
./webx examples/app.webx --target web -o dist/- Yug Merabtene -- Original author of KDX (KodPix), which this project is forked from. The entire compiler architecture, assembly-first design, and quality infrastructure come from KDX.
- Samy Alderson -- WebX adaptation, web target development, and ongoing maintenance.
GPLv3 (inherited from KDX)