Why I built a Bilingual Programming Language in Rust (from high-level Web to x86 Kernels)

Published: (April 19, 2026 at 12:54 PM EDT)
2 min read
Source: Dev.to

Source: Dev.to

The Motivation: Technological Sovereignty

That’s how Mesa‑LP was born. It started in Python, but for version 4.0.0 I decided to take the final leap: a full rewrite in Rust.

Why the rewrite?

Moving from Python to Rust wasn’t just about speed (though it’s incredibly fast now). It was about:

  • Zero Dependencies – No more pip or npm. Everything is baked into the binary.
  • Memory Safety – Leveraging Rust’s borrow checker to build a robust engine.
  • Native Power – Implementing a real HTTP server using TcpListener and a toolkit for x86 assembly.

A Bilingual AST

Whether you write say() or decir(), the AST treats them as the same. This makes programming more accessible to the Spanish‑speaking community without losing the “standard” feel of English coding.

Show me the code!

High‑level: A simple web server

page("Mesa World", "dark")
navbar("Mesa", [["Home", "/"], ["Docs", "/docs"]])
title("Welcome to the Future")
serve_web(8080)

Low‑level: x86 Assembly

asm = x86_new()
start_boot(asm)
video_mode(asm, 0x13)
point(asm, 0x7C00, "Hello from Native MesaOS")

The “Goat” 🐐 Factor

  • Native Engine – 100 % Rust.
  • Built‑in Packages – A system to create and share modules.
  • Standard Library – +200 native functions for Crypto, SQLite, and JSON.

Personal Note

I’d love to get your feedback on the architecture!
Check out the repo here:

0 views
Back to Blog

Related posts

Read more »

Sudo for Windows

Welcome to the repository for Sudo for Windowshttps://aka.ms/sudo 🥪. Sudo for Windows allows users to run elevated commands directly from unelevated terminal w...