Skip to content

jdszekeres/ezl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EZL

easy to learn simple programming language

install

use the executable in directory

run

./ezl filename.ezl

examples

calculator

PRINT "enter the first digit"
INPUT num
PRINT "type one for addition, two for subtraction"
PRINT "three for multiplication", and four for division"
PRINT "..."
INPUT type
PRINT "what is your second number"
INPUT numtwo
IF type == 1.0 THEN
	PRINT num + numtwo
ENDIF
IF type == 2.0 THEN
	PRINT num - numtwo
ENDIF
IF type == 3.0 THEN
	PRINT num * numtwo
ENDIF
IF type == 4.0 THEN
	PRINT num / numtwo
ENDIF

see more in examples folder