Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Internal APIs need passby check #33

Description

@worksofliam

Due to some fairly poor design on my part, we need a way to define an internal functions (BIFs, system APIs) pass type, e.g. by value/const or by reference.

It's different for user defined features because the VM handles whether it's a value or reference (at runtime):


Moral of the story is that Reader.cs somehow needs to know all the internal functions and their reference types in order to construct a correct bytecode, otherwise we may be stuck writing all internal functions as pass by reference only (and I don't think there are any BIFs that have that)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions