Code Help
Practical quick references for every language Zerethon IDE supports: the syntax you need most, copyable examples with their output, how a program runs in the IDE, and the errors beginners meet first. Each page links to the official documentation for the details.
- Python Python 3.12 Python 3.12 essentials: values and types, control flow, functions, lists and dicts, strings, input and files — and how a Python program runs in Zerethon IDE.
-
JavaScript
Node.js 22
JavaScript on Node.js 22: values,
let/const, control flow, functions, arrays and objects, strings, async code, stdin and files — and how a program runs in Zerethon IDE. -
Java
Java 25
Java 25 essentials: the
mainclass, types and variables, control flow andswitchexpressions, methods, classes and records, collections, strings, input and files — and how javac and the JVM run your project in Zerethon IDE. -
C
C (GCC 14)
C (GNU C17, GCC 14) essentials:
printfand types, control flow, functions, arrays and pointers, strings, structs and memory, input and files, several source files — and how gcc builds and runs your project in Zerethon IDE. -
C++
C++ (GCC 14)
C++20 (GCC 14) essentials:
std::coutand types, control flow, functions and references, classes, the standard containers and algorithms,std::string, input and files, several source files — and how g++ builds and runs your project in Zerethon IDE. -
PHP
PHP 8.4
PHP 8.4 on the command line: echo and types, control flow and
match, typed functions, arrays, strings and regular expressions, classes, input and files — and how a PHP script runs in Zerethon IDE. - TypeScript TypeScript 7 TypeScript 7 in strict mode on Node.js 22: type annotations and inference, unions and narrowing, interfaces and generics, typed collections, async code, input and files — and how type-checking and running work in Zerethon IDE.
- SQL SQLite 3 SQL in the SQL Playground, which runs SQLite 3: creating tables, SELECT with WHERE and ORDER BY, GROUP BY, JOIN, INSERT / UPDATE / DELETE, transactions, functions, CTEs and window functions, CSV data — and how every run starts from a fresh database.
- Go Go 1.27 Go 1.27 essentials: variables and types, control flow, functions and errors, slices and maps, structs and interfaces, goroutines, input and files — and how a Go program is built and run in Zerethon IDE.
-
Rust
Rust 1.87
Rust 1.87 (edition 2024) essentials: variables and types, control flow, functions, ownership and borrowing, structs, enums and traits,
OptionandResult, collections, strings, input and files — and how a Rust program is compiled and run in Zerethon IDE. - Ruby Ruby 4.0 Ruby 4.0 essentials: values and types, control flow, methods and blocks, arrays and hashes, classes and modules, strings, input and files — and how a Ruby program runs in Zerethon IDE.
- Perl Perl 5.40 Perl 5.40 essentials: scalars, arrays and hashes, control flow, subroutines with signatures, references, strings and regular expressions, input and files — and how a Perl program runs in Zerethon IDE.
- Bash Bash 5.2 Bash 5.2 essentials: variables and quoting, arithmetic, conditions and loops, functions and exit status, arrays, string expansions, input, files, pipes and the standard tools — and how a script runs in Zerethon IDE.
- R R 4.5 R 4.5 essentials: vectors and types, control flow, functions, lists and data frames, strings, summary statistics, input and files — and how an R script runs in Zerethon IDE.