Skip to content
MelideePublic

About

C-like toy compiler, unfinished

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Tomo compiler

This is a toy compiler for a language kinda-sorta like c, heres an example:

module hello;

use std.io;

fn main(): i32 {
    let message: String = say("Hello!")
    io.println(message);
    message.free();
    return 0;
}

fn say(text: String): String {
    let result: String = String.format("Hello, %s!", message);
    return result;
}

About

C-like toy compiler, unfinished

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages