For programmers

You are already a programmer. Give us 5 minutes, you will then know green tea programming language.

Variables are $, functions are @.

$number : 3

@echo_hello_world

@echo “Hello world”

(@echo_hello_world)

> Hello World

Green Tea blocks of commands are indent-based. Just like Python, but you can mix spaces and tabs.

if $a < 0

@echo “lesser than 0”

Assignments are : and = is comparision.

$a:3 // assignment

$a=3 // comparision

New for:

for 3 times

@echo $_time + “ ”

at $_time = 3

@echo “ (end)”

> 1 2 3 (end)

You know the basic. If you have any question, find it on our full document.