cobek/context.h
2022-03-24 15:24:46 +03:00

15 lines
265 B
C

#pragma once
#include "commands.h"
struct ContextStruct;
typedef ContextStruct Context;
Autoarr_declare(Context);
struct ContextStruct{
Context* parent;
Autoarr(Context) children;
Autoarr(Command) commandChain;
Autoarr(Constant) constantStack;
}