Skip to content

yjhmelody/lua-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Toy Lua Compiler Just For Study (And Just For Fun)


Note

Basic lexer, parser, codegen and Lua bytecode serialization/deserialization have been completed.

Some uncommon syntax have been ignored by me. The AST designed by me is somewhat unreasonable.

It was difficult for me to implement some codegen for the first time. Also, the Lua Bytecode is a little fizzy for me.

There are still some hidden bugs in codegen.

Generally, it's a naive project for learning compiler work principle. I did not do rigorous testing for so many functions.

Releases

No releases published

Packages

No packages published