Seedling Tutorial
Seedling is a high-level, interpreted programming language designed for rapid development and readability. Its syntax is clean and intuitive, making it a great first language for beginners.
Why learn Seedling?
With a focus on simplicity and a powerful standard library, Seedling allows you to build complex applications with less code. It's perfect for scripting, web development, and data analysis.
Hello World Example
Here is a classic "Hello World" example in Seedling. This demonstrates the basic structure, including section declarations and system calls for output.
main.seed
universal start:
{
.arch_32
.end
.file_sect
extern: yield;
.end
.code_sect
call main;
.end
} pass_arg: num_value[0];
global main:
{
.declare_sect
hold aisle: msg;
.end
.literal_sect
assign: msg = "Hello World!", hex_value[0x0A];
.end
.code_sect
move_aisle: edx, num_value[13];
move_aisle: ecx, msg;
move_aisle: ebx, num_value[1];
move_aisle: eax, num_value[4];
call_system;
move_aisle: ebx, num_value[0];
move_aisle: eax, num_value[1];
call_system;
.end
} call yield;