Skip to content

Latest commit

 

History

130 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

This is a toy language I created to learn how compilers work. The code is not that neat because I focused on getting a working compiler done instead of good code.

It generates asm files which then is compiled with nasm and linked with gcc to get c runtime

Hello World

package main;

import std.fmt.print;
 
func main() : int {
  print("Hello World!")
  std.fmt.print("Hello World again!")
  return 0;
}

Building compiler

odin build src --out=langer

Using compiler

./langer ./main.l ./std -o ./main
./main

About

A toy systems programing language using llvm irl

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages