public static bool Parse(string Text, out Expression Expression, out SoundOptions Options, out int ErrorIndex) { Expression = null; Options = new SoundOptions(); Dictionary<string, Expression> variables = null; int index = 0; AcceptProgram(Text, ref index, ref variables, ref Options, out ErrorIndex); if (index == Text.Length) { variables.TryGetValue(Result, out Expression); return true; } return false; }