CLanguage by praeclarum

<PackageReference Include="CLanguage" Version="0.18.48" />

 CInterpreter

public class CInterpreter
public int CpuSpeed

public int SP

public readonly Value[] Stack

public ExecutionFrame ActiveFrame { get; }

public int CallStackDepth { get; }

public Executable Executable { get; }

public int RemainingTime { get; set; }

public int SleepTime { get; set; }

public int YieldedValue { get; }

public CInterpreter(Executable exe, int maxStack = 1024, int maxFrames = 24)

public static void Run(string code)

public void Call(Value functionAddress)

public void Call(BaseFunction function)

public void Push(Value value)

public Value ReadArg(int index)

public Value ReadMemory(int address)

public string ReadString(int address)

public string ReadStringWithEncoding(int address, Encoding encoding)

public Value ReadThis()

public void Reset(string entrypoint)

public void Return()

public void Run()

public Value RunFunction(Value functionAddress, int microseconds)

public Value RunFunction(Value functionAddress, Value arg0, int microseconds)

public Value RunFunction(Value functionAddress, Value arg0, Value arg1, int microseconds)

public Value RunFunction(Value functionAddress, Value arg0, Value arg1, Value arg2, int microseconds)

public void Step()

public void Step(int microseconds)

public void Yield(int yieldedValue)