#pragma once #include "Common.h" #include "Parser.h" #include "Environment.h" #include namespace NVL::Compiler { struct _DirectedGraphNode { Vector> sequence; }; struct NVLGraph { Vector<_DirectedGraphNode> nodes; Vector static_refs; }; Environment::Variable StaticEval(Vector& refs, const Parse::Object& obj); NVLGraph Compile(const Vector& scenes, i32 entry_scene_index); std::ostringstream Serialize(const NVLGraph& g); NVLGraph Deserialize(std::istringstream& buf); }