Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

kodesoul/nai-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nai-lang

Toy programming language.

NOTE !!!

I'm archiving this project since I lost interest.

However I recommend looking at the examples folder with c files and the handwritten llvm ir text file translations.

LLVM gets really annoying once things get complex so I also recommend checking out qbe for easier compiler backends to machine code.

Some of the resources I recommend are:

Description

Weekend code jam for Rust Nairobi.

Compilation

  1. Compile a file.nl file to file.ll llvm ir text file.
  2. Call zig cc file.ll -o file or clang file.ll to produce machine code.

Dependencies

  • libc
  • zig 0.13
  • clang (optional)

About

Toy programming language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages