- Variables – integers, float, boolean and strings
- Assignment –
= - Logical Operator –
and, or, not - Compound Assignment –
= += -= *= /= - Arithmetic –
+ - * / ++ --and parentheses - Comparisons –
== != < > <= >=(return1or0) - Print –
print(...)with+concatenation (strings, ints, variables) - Conditionals –
if,elif,elsewith{ }blocks - Loops –
while - File extension –
.lzd - Version –
Lizard -vshows ASCII art
Clone the repository and compile with make:
git clone https://github.com/Luifegames/Lizard-Language.git
cd lizard
makeThe executable lizard (or Lizard.exe on Windows) will be created.
Run an Lizaes script:
./lizard script.lzdShow version:
./lizard -vCreate a file hello.lzd:
name = "Lizard"
size = 10
if (size >= 10) {
print("Welcome to " + name + "!")
} else {
print("too small")
}
print("2 + 2 = " + (2 + 2))
print("5 > 3 is " + (5 > 3))
Run it:
./lizard hello.lzdOutput:
Welcome to Lizard!
2 + 2 = 4
5 > 3 is 1
Lizard reads .lzd files in binary mode and preserves UTF‑8 byte sequences inside string literals. To display accented characters (á, é, í, ó, ú, ñ) correctly:
Lizard/
├── Makefile
├── include/
│ ├── error.h
│ ├── lexer.h
│ ├── lizard.h
│ ├── parser.h
│ ├── variables.h
│ └── utils.h
└── src/
├── error.c
├── lexer.c
├── main.c
├── lexer.c
├── parser.c
├── variables.c
└── utils.c
MIT – free to use and modify.
-
Download the latest
.vsixfile from the Releases page of this repository. -
Open VS Code.
-
Go to the Extensions view:
- Press
Ctrl+Shift+X - Or click the Extensions icon in the Activity Bar.
- Press
-
Click on the
...(More Actions) menu and select "Install from VSIX...". -
Choose the
.vsixfile you downloaded. -
Reload VS Code when prompted.
Once installed, the extension automatically activates when you open a .lzd file.
- Keywords (
if,else,while,print,and,or,not) will have syntax highlighting. - Strings, numbers, comments, and operators are also highlighted.
Open a file named hello.lzd:
name = "Lizard"
size = 10
if (size >= 10) {
print("Welcome to " + name + "!")
} else {
print("too small")
}
print("2 + 2 = " + (2 + 2))
print("5 > 3 is " + (5 > 3))