diff --git a/sm-test-files/hello.sm b/sm-test-files/hello.sm index 56b5ad5..94687d6 100644 --- a/sm-test-files/hello.sm +++ b/sm-test-files/hello.sm @@ -29,6 +29,10 @@ && $ means true && € means false +&& == is implied in if conditions + +&& = is equal to === + && if condition is true log the text ¿??$/condition\ | ¡<=/"condition was true"! @@ -42,3 +46,14 @@ ¿??$/condition\ | ¡<= + #sub /\ | ( + && This code prints hello world + ¿??$? | + !<= "Hello World"!; +) + +#sub /\ | ( + && This code checks if input is equal to another string + ¿??$ /=> "hello"\? | && Takes input and compares to string + !<= "World!"!; Prints World! +)