static void Main(string[] args) { if (TryPrintOperations() || TryConvertCode()) { Environment.Exit(0); } var languageProvider = GetLanguageProvider(); var code = GetCode(); var runtime = new LynxRuntime(); if (TryGetInput(out var input)) { runtime.Execute( languageProvider.Compile(Regex.Unescape(input))); } runtime.Execute( languageProvider.Compile(code)); if (Debugger.IsAttached) { Console.ReadLine(); } }
public abstract object[] Execute(Arguments arguments, LynxRuntime runtime);