Skip to content

GrFN 2.2 Spec

Clayton T. Morrison edited this page Apr 4, 2022 · 3 revisions

Introduction

Nodes

Variables

(Primitive) Boxes

Primitive function building-blocks:

  • L, LI_in, A, C, D, I, etc...

Subgraphs (Containers)

  • Well-defined order to boxes in the container
  • has list of nodes: variables, functions, containers (subgraphs)
  • has information in relation to rest of the graph:
    • parent (enclosing), scope

subgraph/container types:

Function

  • DOES NOT YET INCLUDE: call vs. definition

Conditional

  • condition
  • if-block, else-block

Loop

  • loop condition
  • EXIT, BREAK, CONTINUE variables

Hyperedges

  • list of uids of input variables
  • uid of node
  • list of uids of output variables

Lambdas / Expression Trees

  • Primitive Operators
    • +, -, ...

Types

have Domain

Atomic

  • int, float bool, etc…

Composite

  • Sequence: Array, List, Tuple
  • Dictionary: hash?
  • struct
  • user-defined

Metadata

Clone this wiki locally