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 Feb 20, 2026. It is now read-only.
Add support for functions as a first-class type in ASM-Lang. This would allow functions to be assigned to variables, stored in data structures, passed as arguments, and returned from other functions.
Motivation
Increases language expressiveness and flexibility.
Enables common functional programming patterns.
Makes it easier to write concise, readable, and modular code.
Expected behavior
Functions can be treated as values throughout the ASM-Lang interpreter.
Syntax and semantics should be clearly documented and tested.
Example usage and reference changes included in documentation.
Feature proposal
Add support for functions as a first-class type in ASM-Lang. This would allow functions to be assigned to variables, stored in data structures, passed as arguments, and returned from other functions.
Motivation
Expected behavior