DEV Community

Tomoya Araki
Tomoya Araki

Posted on

I Built My Own Programming Language Called Zevic

I've been working on my own programming language called Zevic.

Zevic is a general-purpose compiled programming language designed to provide a straightforward syntax while still offering powerful features.

Why I Created Zevic

I enjoy programming language design and compiler development.

Rather than just using existing languages, I wanted to understand how programming languages work internally and build one of my own.

That became Zevic.

Features

Some of the main features of Zevic include:

  • LLVM Backend — Uses LLVM for code generation.
  • Static Typing — Variables have explicit types.
  • C Interoperability — Supports "extern "C"".
  • Object-Oriented Programming — Supports classes and related features.
  • Cross-Platform Goals — Windows, Linux and macOS.

Example

module Main

import Zevic.Console

fn Main() {
Console.Printf("Hello, World!\n")
}

What's Next?

I'm continuing to develop Zevic and improve its compiler, language design, and standard library.

There is still a lot to do, but building a programming language from scratch has been a fascinating experience.

Project

GitHub: https://github.com/zevic-lang/zevic

I'd love to hear your thoughts, suggestions, and feedback!

Thanks for reading.

Top comments (0)