Human-readable syntax
The code reads naturally and is not cluttered with unnecessary characters.
Humal is a programming language with human-readable syntax that uses indentation (like Python) and compiles directly to JavaScript (supporting both ESM and CommonJS standards).
let age = 20
if age >= 18
print "Adult"
else
print "Underage"
The same code, less syntactic noise. Delivering clarity and simplicity.
let score = 75
if score >= 90
print "Excellent"
elif score >= 70
print "Good"
elif score >= 50
print "Pass"
else
print "Fail"
let score = 75
if (score >= 90) {
console.log("Excellent")
} else if (score >= 70) {
console.log("Good")
} else if (score >= 50) {
console.log("Pass")
} else {
console.log("Fail")
}
The code reads naturally and is not cluttered with unnecessary characters.
Humal compiles to JavaScript without a heavy intermediate structure. Benchmark
A choice of both popular module formats.
Support for .hum files and syntax highlighting
JavaScript libraries can be used in Humal projects.
Thanks to built-in indentation and the absence of unnecessary clutter, Humal syntax is quite easy to read and understand.
Three steps, and you can write on Humal.
npm install -g @qvelop444/humal
print "Hello World!"
humal main.hum