Crate graphix_compiler

Source

Modules§

env
expr
node
typ

Macros§

err
errf
tdbg
update_args
wrap

Structs§

BindId
Event
Event represents all the things that happened simultaneously in a given execution cycle. Event may contain only one update for each variable and netidx subscription in a given cycle, if more updates happen simultaneously they must be queued and deferred to later cycles.
ExecCtx
LambdaId
NoUserEvent
Refs

Enums§

PrintFlag

Constants§

REFS
thread local shared refs structure

Traits§

Apply
Apply is a kind of node that represents a function application. It does not hold ownership of it’s arguments, instead those are held by a CallSite node. This allows us to change the function called at runtime without recompiling the arguments.
BuiltIn
Rt
Update
Update represents a regular graph node, as opposed to a function application represented by Apply. Regular graph nodes are used for every built in node except for builtin functions.
UserEvent

Functions§

compile
compile the expression into a node graph in the specified context and scope, return the root node or an error if compilation failed.
format_with_flags
For the duration of the closure F change the way type variables are formatted (on this thread only) according to the specified flags.

Type Aliases§

BuiltInInitFn
InitFn
Node