rbartlensky / Lua-interpreter

A Lua interpreter in Rust
5 stars 2 forks source link

Add return values to luacompiler. #21

Closed rbartlensky closed 5 years ago

rbartlensky commented 5 years ago

This PR implements the compiler side of multiple return values. The compiler emits two new instructions:

The compiler also unpacks return values.

rbartlensky commented 5 years ago

I addressed all comments, ready for another review.

ltratt commented 5 years ago

Please squash.

rbartlensky commented 5 years ago

Done!