lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi-

> ...primarily for this reason. Trying to flatten a basic block graph into
> runnable code when all you have are if...then...else, while...,
> repeat...until etc is *really hard*, and I believe (though I haven't
> seen proof) is actually impossible in the general case.

You can do this trivially with tail calls and one function per basic block.

Alistair