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

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