DEV Community

Ryan Bae
Ryan Bae

Posted on

Big Project I'm making

What is My Project?
It's a language called EOM thats written in Swift. It's a programming language, and it's about 30% done. It uses its own paradigm (because OOP has various pitfalls like the diamond problem and the fragile base class), and it's going to have similar but different enough syntax from Swift.

Okay, but what does the syntax look like?

// examples
// if statements
if x == 5 {
    print("Hello, World")
} else {
    print("Bye, World")
}

// paradigm
struct A {
    var foo: number
}

copy A => B {
    add var bar: string = "This is a test"
}

let temp: B = B()
print(temp.bar) // prints "This is a test"
Enter fullscreen mode Exit fullscreen mode

Why are you making it?
This project is for my 2026 submission for the Swift Student Challenge (I haven't done it before, so this is first time, lol).

I'm still working on the AST design, but I'm starting to get into the parser side, and I'm open to feedback from people interested in programming language design. Thank you!

Top comments (0)