I've been looking at the Trampolined Style paper and finding that it either cont...

@redmp@recurse.social

I've been looking at the Trampolined Style paper and finding that it either contains a bug or I cannot understand it. See the attached screenshot which is the top of Figure 1 from dl.acm.org/doi/abs/10.1145/317

It strikes me that there doesn't seem to be a way to call a function of more than two arguments in this grammar. Using E you can construct (S S) and then expand the left S to (c S) to get ((c S) S), but that's it.

#trampolining #trampolinedstyle #programminglanguages