Exemple #1
0
        public TextFungeParser()
        {
            parser = new GOLD.Parser();

            LoadTables(new BinaryReader(new MemoryStream(GetGrammar())));
        }
Exemple #2
0
 public CookV5Parser(GOLD.Parser parser)
 { // initialization of the GOLD parser from Resource tables is framework-dependent
     this.parser = parser;
 }
Exemple #3
0
 public SourceCodePosition(GOLD.Parser p)
 {
     this.Line   = p.CurrentPosition().Line + 1;
     this.Column = p.CurrentPosition().Column;
 }