==============================

Over Language Keywords

==============================


Run alias over='lua "/Users/overants/Documents/over-language/Over/compiler.lua"'
Run over examples/hello.over



1   = local

2   = while

3   = return

4   = do

5() = print()

6   = true

7   = false

8() = wait()

9   = break

10  = end

11  = if

12  = elseif

13  = else

14  = then

15 = function

16 = warn

17 = tostring()

18 = random

19 = nil

20 = for

21 = in

22 = ipairs()



------------------------------

อนาคต

------------------------------



------------------------------

Operators

------------------------------



=    Assignment

==   Equal

!=   Not Equal

>    Greater

<    Less

>=   Greater Equal

<=   Less Equal



+    Add

-    Subtract

*    Multiply

/    Divide

%    Modulo



&&   and

||   or

!    not



------------------------------

Comments

------------------------------



// Single line comment



/*

Multi-line

comment

*/



------------------------------

Numbers

------------------------------



`100`



`3.14`



`-50`



------------------------------

Strings

------------------------------



"Hello"



------------------------------

Interpolation

------------------------------



i"HP = #{hp}"



i"1 + 1 = {1 + 1}"



#{variable}   -> ตัวแปร



{expression}  -> Expression



------------------------------

Examples

------------------------------



1 hp = `100`



11 hp > `50` 14

    5(i"HP = #{hp}")

10



2 hp > `0` 4

    hp = hp - `1`

    8(`1`)

10