Simple Syntax
English-like code with clean blocks, direct variables, readable loops, and easy printing.
Modern • Simple • English-like
A clean, beginner-friendly language built with a real compiler structure: Lexer → Tokens → Parser → AST → Semantic Analyzer → JS Compiler → Runtime.
let name = "Hamza"
let age = 19
let names = ["Hamza", "Younas", "Ali"]
print name
print names[0]
if age >= 18
print "Adult"
else
print "Minor"
end
RubiTon is a simple and readable programming language designed to make coding easier for beginners while keeping the compiler architecture strong for future frontend and backend development.
English-like code with clean blocks, direct variables, readable loops, and easy printing.
Built around lexer, tokens, parser, AST, semantic checking, compiler, and runtime layers.
Designed to grow into frontend UI, backend scripting, package modules, and developer tooling.
let name = "Hamza"
let age = 19
print name
print agelet names = ["Hamza", "Younas", "Ali"]
print names
print names[0]if age >= 18
print "Adult"
else
print "Minor"
endlet i = 0
while i < 3
print i
i++
endrepeat for 3
print "Loop"
endrepeat i = 1 for 3
print i
enddo
print i
i--
while i > 0
endi++
i--
i += 1
i -= 1
i *= 2
i /= 2let name = "Hamza"
print "Hello {name}"let name = "Hamza"
let age = 19
let names = ["Hamza", "Younas", "Ali"]
print name
print age
print names
print names[0]
if age >= 18
print "Adult"
else
print "Minor"
end
let i = 0
while i < 3
print i
i++
end
repeat for 3
print "Loop"
end
repeat i = 1 for 3
print i
end
do
print i
i--
while i > 0
endHamza
19
[Hamza, Younas, Ali]
Hamza
Adult
0
1
2
Loop
Loop
Loop
1
2
3
3
2
1RubiTon v0.4 follows a real compiler-style pipeline for the current language features.
cd "C:\RubiTon Language & Framework\rubiton"
cargo run main.rbtThe compiler creates main.js and also prints the RubiTon output in the terminal.
Function parameters, return values, and call stack support.
Import/export system for larger projects.
File system, HTTP server, database helpers, and APIs.
Frontend UI syntax, DOM targets, components, and reactive updates.
RubiTon is created and developed by Its Hamza Dev. Built with passion for simple syntax, strong architecture, and future-ready development.
Back to Top