protected override string RealExecute(FungeContext fungeContext) { fungeContext.MoveOnce(); var fetched = fungeContext.GetCurrentCommandName(); fungeContext.PushToTopStack(fetched); return(null); }
public string Execute(FungeContext fungeContext) { if (!fungeContext.IsSupported(this)) { return($"{fungeContext.Version} not supporting {Name} command"); } var error = RealExecute(fungeContext); fungeContext.MoveOnce(); return(error); }