Skip to content

[feature] Add Tail Call Optimization (TCO) #13

Description

@lattiahirvio

Add TCO. TCO would be rather easy to implement (the standard way to do it is reusing the stack frame on tail calls), and it should add no additional complexity for the end user. TCO optimizes recursive calls, and thus helps with things like recursive descent parsers, tree walking, and other activities that are traditionally done recursively.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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