seng is a programming language where instructions read like natural English sentences. No symbols to memorise. No complex syntax to learn.
seng removes the barrier between thinking and coding. If you can write an English sentence, you can write a seng program.
set age to 25 instead of int age = 25;. Every statement reads like a natural sentence.seng file.se, or compile to blazing-fast .sec bytecode.import "utils.se" to reuse code across projects.Tap a topic below to explore the seng syntax.
# Variables (numbers, text, true/false) set name to "Alice" set age to 25 set score to 98.6 set active to true set nothing to nothing # Arithmetic set total to age plus 5 set half to age divided by 2 set squared to age times age set remain to age mod 7 # Printing say "Hello, " + name + "!" say "Age: " + age say "Total: " + total
set score to 85 if score is greater than or equal to 90 then say "Grade: A" else if score is greater than or equal to 75 then say "Grade: B" else if score is greater than or equal to 60 then say "Grade: C" else say "Grade: F" end # Logical operators if score is greater than 50 and score is less than 100 then say "Valid score" end
# Repeat a fixed number of times repeat 5 times say "Hello!" end # While loop set count to 1 while count is less than or equal to 10 say count set count to count plus 1 end # Break and Continue set x to 0 repeat 20 times set x to x plus 1 if x is equal to 10 then stop # break end if x mod 2 is equal to 0 then skip # continue end say x end
# Define a function define greet with name say "Hello, " + name + "!" end call greet with "Alice" # Function with return value define addTwo with a and b give back a plus b end set total to result of addTwo with 10 and 25 say "Sum is: " + total # Import library import "math_utils.se"
# Create a list make list fruits # Add items add "Apple" to fruits add "Banana" to fruits add "Cherry" to fruits # Access items (1-indexed) say item 1 of fruits # Apple say length of fruits # 3 say fruits # [Apple, Banana, Cherry] # Iterate with while set i to 1 set sz to length of fruits while i is less than or equal to sz say item i of fruits set i to i plus 1 end
# Ask user for input ask yourName for "What is your name? " say "Welcome, " + yourName + "!" ask city for "Which city are you from? " say "Great! " + yourName + " from " + city
Get up and running in under a minute on any platform.
seng-setup-1.0.0-windows-x64.exeseng hello.seseng hello.se — run directlyseng compile hello.se → hello.secseng run hello.sec — run bytecodeseng help — show all commandsseng is actively developed. Every version brings us closer to a world where anyone can code.
Have a feature idea? We'd love to hear it.
✉ hello@mrktamilan.com