Skip to content

memoryleak47/lua2llvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua2llvm

In this toy project, I intend to write a compiler for Lua.

I want to see whether static analysis of code for dynamic languages can be utilized to

generate fast binaries.

Goals:

  • performance

Explicit non-goals:

  • Lua feature parity

  • fast compile times

Currently this project contains my lua "reference implementation" interpreter.

It can be invoked with cargo run <main.lua>

The project now also contains a simple compiler from Lua to LLVM IR.

file.lua can be compiled and executed by running main.sh.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published