Skip to content

unloop, a trifle bizarre #1

@albertvanderhorst

Description

@albertvanderhorst

I see an unloop in symtab-lookup. My conclusion is that it goes up two levels in the call chain.
A somewhat bizarre tail-call optimization.

You've have a very nice and portable program. With this you have triple environmental dependancy

  1. a classical usage of the return stack for call addresses
  2. the return stack is used for do loop parameters
  3. do loop parameters occupy exactly two places

I had a hard time debugging it in lina because of 3. lina has 3 places for the loop parameters

In terms of clarity you program scores 9 or 10. The unloop makes it somewhere near 4.
So my advice, just leave out this unloop .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions