Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce ports (local and external) #1365

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Nov 24, 2024

  1. Add support for node() bif

    Also add support for undocumented `erlang:setnode/2` nif.
    
    Signed-off-by: Paul Guyot <[email protected]>
    pguyot committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    a1c030b View commit details
    Browse the repository at this point in the history
  2. Add support for encoded local pids in external terms

    Also add partial support for external pids.
    
    Signed-off-by: Paul Guyot <[email protected]>
    pguyot committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    00a48e0 View commit details
    Browse the repository at this point in the history
  3. Add support for encoded refs in external terms

    Also add partial support for external refs.
    Also fix list representation of local refs as a ref with two words,
    matching external term encoding.
    
    Signed-off-by: Paul Guyot <[email protected]>
    pguyot committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    598f8c3 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. Introduce ports (local and external)

    Also add bif erlang:is_port/1 which is called by code compiled with OTP-21
    Later versions of the compiler use is_port opcode instead.
    
    Signed-off-by: Paul Guyot <[email protected]>
    pguyot committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    33e905f View commit details
    Browse the repository at this point in the history