From 275840bdcf1fe010842a3c1445da90bf340af7d2 Mon Sep 17 00:00:00 2001 From: xerox Date: Mon, 20 Jan 2020 17:26:16 -0800 Subject: [PATCH] Update README.md --- README.md | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 21ef32f..ea532f1 100755 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ My computer programming language made with LEX/YACC written in C. (interpreted) # Downloads
-Win-32: download -Win-64: download -Linux-32: download -Linux-64: download +* Win-32: download +* Win-64: download +* Linux-32: download +* Linux-64: download # Hello World.
@@ -23,8 +23,8 @@ call main; # Variables
-- Variables support "type juggling" where types are assumed at runtime. -- Variables can be assigned to each other even if they are different types. +* Variables support "type juggling" where types are assumed at runtime. +* Variables can be assigned to each other even if they are different types. ``` /* main function */ @@ -45,7 +45,7 @@ call main; ``` # Expressions -- As ov v0.9.5 expressions are only supported for int types, I need to recode the entire expression parsing system +* As ov v0.9.5 expressions are only supported for int types, I need to recode the entire expression parsing system to support up to doubles. ``` @@ -59,7 +59,7 @@ call main; ``` # Scope -- As of v0.9.5 there is not scope inside of this programming language. +* As of v0.9.5 there is not scope inside of this programming language. ``` /* changes var from 10 to 100 */ @@ -82,11 +82,12 @@ call main; # Logic
-- while loops are if statements -- As of version 0.9.5, logic conditions must only be variables. +* while loops are if statements +* As of version 0.9.5, logic conditions must only be variables. ### If statements As stated above, if statement conditions must be a variable. + ``` def main: { @@ -103,7 +104,9 @@ def main: }; call main; ``` + ### While loop + ``` def main: { @@ -119,7 +122,8 @@ call main; ``` # Functions -- Functions can be defined as variables (lambda) or defined normally. +* Functions can be defined as variables (lambda) or defined normally. + ``` def my_function: { @@ -132,7 +136,7 @@ call my_function; ``` # Redefinitions -- As of v0.9.5 everything in this programming language can be redefined. That means everything, including the function that +* As of v0.9.5 everything in this programming language can be redefined. That means everything, including the function that is currently being executed. ``` def main: