Skip to content

Solidify and Define concept of Compound AST forms #1969

@andrew4328

Description

@andrew4328

In Abstract Syntax Tree design there are two philosophical approaches that sort of align with the concept of reduced instruction set vs complex instruction set design. In LM we have a very minimal reduced AST form, but there are some primitives that are created as compounds of other AST components e.g. ascripted terms.

These compound terms don't necessarily need to provide a type for every sub term, but rather just one for the whole compound term. This could reduce memory usage / cpu usage by a significant bit since these compounds are so common.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions