Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jdszekeres/ezl into master
Browse files Browse the repository at this point in the history
  • Loading branch information
jdszekeres committed Sep 21, 2020
2 parents 350ce16 + 0323b91 commit f924bdc
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 1 deletion.
45 changes: 45 additions & 0 deletions docs/documentation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# EZL docs

### PRINT
print statment in ezl
usage
```
PRINT "HELLO WOLRD"
```
### "#"
comment in ezl
usage
```
PRINT "HELLO WORLD"
# prints hello world
```
### INPUT
input statement in ezl
usage
Expand All @@ -19,4 +27,41 @@ usage
```
IF 10.0 == 10.0 THEN
PRINT "you should not be seeing this."
ENDIF
```
### LET
define a varible in ezl
usage
```
LET a = 2
PRINT a
#output: 2.00
```
### WHILE
while statment in ezl
usage
```
LET a = 0
WHILE a < 10 REPEAT
PRINT a
ENDWHILE
```
### WAIT
sleep in ezl
usage
```
PRINT "sleeping for 10 seconds"
WAIT 10
PRINT "done sleeping"
```
### expressions
#### +
addition in ezl
#### -
subtraction in ezl
#### *
multiplication in ezl
#### /
division in ezl
#### %
remainder/modulus in ezl
24 changes: 23 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@

# install
### pre-compiled
#### the easy way
* download the latest release
* use as following
```bash
./ezl filename.ezl
```
### download from source
#### the hard way
* clone the repo
```bash
git clone https://www.github.com/jdszekeres/ezl.git
```
* install pyinstaller
```bash
pip3 install pyinstaller
```
* build
``` bash
python3 -m pyinstaller --onefile ezl.py
```
* your executable is in the dist folder

0 comments on commit f924bdc

Please sign in to comment.