Welcome to the Gorilla Programming Language!
What is Gorilla?
Gorilla is a tiny, dynamically typed, flexible programming language, written in Golang
Gorilla is built to make simple, flexible, well-understood programs in a relatively fast way.
Why should I use Gorilla?
- It is gorilla-crawling-blaze-ish fast compared to other dynamic, interpreted languages
- According to a fibonacci benchmark, Gorilla is 36% faster than Python
- Gorilla is compiled into Gorilla Bytecode
- It is dynamic and flexible
- You don’t have to worry about all those
semicolons or modules
anymore! - Gorilla has Python/Ruby style assignment expression:
name = value
, which looks clean - Gorilla also has concise operators like
array <- item
, which obviously putsitem
to the end ofarray
- You don’t have to worry about all those
- While it is dynamic, you can still write type-safe code
- 99% of Gorilla’s builtin functions are type-safe
- Gorilla has builtin support for type annotations and assertions for functions
-
Learn Gorilla by Examples
-
Gorilla Language Reference
Setting Up Gorilla
Warning: gorilla is still not production-ready, and it still contains some bugs, please report them if you found one!
There are 3 ways to set up Gorilla:
- If you are on Windows 10 (and you trust I don’t spread viruses), download the latest binary executable
- Try Online: Gorilla Playground
- Download Golang (recommend v1.5),
git pull https://github.com/SnowballSH/Gorilla
andgo build
Hello, world!
The simplest way to write a Hello World program in Gorilla:
println("Hello, world!")
# Hello, world!