๐Ÿš€Getting Started

Learn how to get Zaidlang up and running on your local machine.

What is Zaidlang?

Zaidlang is a small, class-based scripting language.

Installing Zaidlang

Direct Download

You may download the compiled binaries for your platform from our GitHub releases page.

For Windows

  1. Once extracted put the folder to "C:\Program Files"

  2. After the copy the folders path and setup the environment variable using this blog.

Brew๐Ÿบ(Let us kow if it works)

If you're on Mac, you may use homebrew:

$ brew tap zaid-language/zaid-lang
$ brew install zaid-language/zaid-lang/zaid-lang

Go Install (Not working currently)

If you have Go installed, you may use go install:

$ go install github.com/zaid-language/zaid-lang

Building Zaidlang

If you're on a Unix or Mac machine, you can easily download the source code and build directly:

git clone https://github.com/zaid-language/zaid-lang
cd zaid-lang
make

This downloads and builds the latest version of Zaidlang found on GitHub. You will be put inside a fresh instance of zaid if everything was successful.

Interactive Mode

If you just run zaid without any arguments, it starts the interpreter in interactive mode (aka, REPL mode, read-eval-print loop). You can type in a line of code, and immediately execute it. While in this mode, your state is saved until you exit the program. Meaning if you define a variable, you may reference the variable later on.

Ready to give Zaidlang a spin?

printftw("Hello, world!")

Once you have Zaidlang setup and installed, you're ready to jump into learning the language.

Last updated