Venera

Venera

A hobby low-level language with a keyword-heavy syntax and a C-compatible ABI.

USE Std
PROGRAM Hello DO

    DEF I32 Main DO
        NAME DO
            CHAR PTR msg
        END

        msg WRITE "Hello, Venera!\n"
        INVOKE Std::Printf(msg)
        RETURN 0
    END
END

Native x86-64

Venera compiles straight to x86-64 machine code. Pointers are always 64 bits and memory is little-endian.

C-compatible ABI

Call C from Venera and Venera from C, and link against existing libraries without a wrapper layer.

Keyword-heavy syntax

Venera favours explicit keywords like DO, END and WRITE over punctuation, for a unique style.