Quick Start

How to download Seed?

Go to https://github.com/bzjsmdl/Seed-Language/releases to download it.

Hello, World!

// hello.seed:
    #import <io.sdh>
    sec .data {
        s: byte "Hello, World!";
    }
    sec .text {
        pub main{  // Windows 64
            print s;
        }
    }

Compile it:
seed -f ./hello.seed -o pe ./hello.exe
    ./hello.exe

Output:

Hello, World!

Meaning

File hello.seed difined two sections(.text, .data). In the Data Segment, I difined a string s. In the Text Segment, I deined a label of entry pinter main. The label main called a macro print of standard library io.sdh