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

make "Record" data structure #15

Open

Description

@Ljzn
record R a b c ;

: R1 1 2 3 R ;
\ get an encoded binary stands for R{a: 1, b: 2, c: 3}

: main R1.a ;
\ 1

It is running the encode and decode code at runtime, so we can make a record at runtime (but only define a record at compile time).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions