Keywords & commands

Here is the lists of keywords in Green Tea. You will know them later.

if, else, class, do , while, break, use, switch , new, continue, return, include , throw, try, catch , finally, defcat, deffin, elif , new, do, case, continue , for, times, from, to , foreach, as, at, borrow , from

If you need any keyword as a string, please quote or escape it.

@echo if

> Syntax error

@echo “if”

> if

@echo \if

> if

Commands

A command is an instruction to do something. Usually a command is in a line

@echo hello

If you need multiple commands in one lines, separate them by semicolons (;)

@echo hello; @echo ” “; @echo world

If you need a command use multiple lines, use … at the end of not-last lines

@echo 1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1 …

1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1…

1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1…

1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1…

1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1

> 0