[fine] Compile iteratively instead of recursively

This commit is contained in:
John Doty 2024-01-16 09:26:05 -08:00
parent 7fb88ef199
commit 01798236ec
6 changed files with 68 additions and 52 deletions

View file

@ -39,6 +39,11 @@ fun test() -> f64 {
// | RightBrace:'"}"'
// |
// @compiles-to:
// | function << module >> (0 args, 0 locals):
// | strings (0):
// | code (2):
// | 0: PushNothing
// | 1: Return
// | function test (0 args, 0 locals):
// | strings (0):
// | code (10):
@ -52,9 +57,4 @@ fun test() -> f64 {
// | 7: FloatMultiply
// | 8: FloatAdd
// | 9: Return
// | function << module >> (0 args, 0 locals):
// | strings (0):
// | code (2):
// | 0: PushNothing
// | 1: Return
// |