Home /Modules/impl/hello.sleela

hello.sleela

impl/examples/hello.sleela · 9 line(s) · sleela

#sleela 2.1
// The classic. Sleela is Java-like; main() is the entry point.
// The #sleela pragma above declares the syntax version (SL-META-0001 Sec 4.4).
class Hello {
    void main() {
        print("Hello, Sleela!");
    }
}