public static XbnfDocument ReadFrom(TextReader reader) => Parse(ParseContext.CreateFrom(reader));
/// <summary> /// Parses a regular expresion from the specified <see cref="TextReader"/> /// </summary> /// <param name="reader">The text reader</param> /// <param name="accepting">The symbol reported when accepting the specified expression</param> /// <returns>A new expression that represents the regular expression</returns> public static RegexExpression ReadFrom(TextReader reader) => Parse(ParseContext.CreateFrom(reader));