Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Consider writing an Optimizer #9

@xrstf

Description

@xrstf

To optimize we'd first need to add an IsPure() to the Function interface, so the optimizer could pre-evaluate pure expressions that only rely on known literal values (like (+ 1 2)).

Optimizing would be mostly for fun and giggles and not truly something that I consider necessary for a small language with usually small programs like with Rudi. But it could still be fun to try.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions