From 348b32378716b02a0b0076ab2329b45fd1f21a40 Mon Sep 17 00:00:00 2001 From: jdszekeres <69050063+jdszekeres@users.noreply.github.com> Date: Wed, 16 Sep 2020 09:53:25 -0700 Subject: [PATCH 1/5] added comments and while --- docs/documentation.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/documentation.md b/docs/documentation.md index bf735a3..7b5660d 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -1,4 +1,11 @@ # EZL docs +### # +comment in ezl +usage +``` +PRINT "HELLO WORLD" +# prints hello world +``` ### PRINT print statment in ezl usage @@ -19,4 +26,14 @@ usage ``` IF 10.0 == 10.0 THEN PRINT "you should not be seeing this." +ENDIF +``` +### WHILE +while statment in ezl +usage +``` +a = 0 +WHILE a < 10 REPEAT + PRINT a +ENDWHILE ``` From 1f2cced1d87bc483dc1f8884485be2dad3f5e776 Mon Sep 17 00:00:00 2001 From: jdszekeres <69050063+jdszekeres@users.noreply.github.com> Date: Wed, 16 Sep 2020 10:25:18 -0700 Subject: [PATCH 2/5] added LET --- docs/documentation.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/documentation.md b/docs/documentation.md index 7b5660d..58c0c33 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -1,17 +1,18 @@ # EZL docs -### # -comment in ezl -usage -``` -PRINT "HELLO WORLD" -# prints hello world -``` + ### 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 @@ -28,11 +29,18 @@ 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 ``` -a = 0 +LET a = 0 WHILE a < 10 REPEAT PRINT a ENDWHILE From 402c1e5c59e584ee65291aea9fcea7ea9313c5d5 Mon Sep 17 00:00:00 2001 From: jdszekeres <69050063+jdszekeres@users.noreply.github.com> Date: Wed, 16 Sep 2020 10:27:48 -0700 Subject: [PATCH 3/5] added wait --- docs/documentation.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/documentation.md b/docs/documentation.md index 58c0c33..af726fe 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -36,6 +36,7 @@ usage LET a = 2 PRINT a #output: 2.00 +``` ### WHILE while statment in ezl usage @@ -45,3 +46,10 @@ WHILE a < 10 REPEAT PRINT a ENDWHILE ``` +### WAIT +sleep in ezl +usage +``` +PRINT "sleeping for 10 seconds" +WAIT 10 +PRINT "done sleeping" From 075ab93c96ee370a0ece57790d04732719652eff Mon Sep 17 00:00:00 2001 From: jdszekeres <69050063+jdszekeres@users.noreply.github.com> Date: Wed, 16 Sep 2020 14:58:00 -0700 Subject: [PATCH 4/5] Update documentation.md --- docs/documentation.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/documentation.md b/docs/documentation.md index af726fe..220aa5f 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -53,3 +53,15 @@ 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 From 0323b91cb3a058a93f53d9f2e49fc5afa09b0a36 Mon Sep 17 00:00:00 2001 From: jdszekeres <69050063+jdszekeres@users.noreply.github.com> Date: Wed, 16 Sep 2020 15:03:43 -0700 Subject: [PATCH 5/5] finished install.md --- docs/install.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index 8b13789..858cb29 100644 --- a/docs/install.md +++ b/docs/install.md @@ -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