You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
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.
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.