static void Main(string[] args) { StreamReader streamReader = new StreamReader("C:\\Pascal.txt"); string text = streamReader.ReadToEnd(); streamReader.Close(); LexicoJava C = new LexicoJava(text); javaParser s = new javaParser(C); Sentencia raiz = s.parse(); raiz.SentValSemantica(); raiz.interpretar(); /* StreamReader streamReader = new StreamReader("C:\\Pascal.txt"); string text = streamReader.ReadToEnd(); streamReader.Close(); LexicoJava C = new LexicoJava(text); javaParser s = new javaParser(C); Sentencia raiz = s.parse(); raiz.SentValSemantica(); raiz.interpretar(); */ Console.ReadKey(); }
static void Main(string[] args) { StreamReader streamReader = new StreamReader("C:\\Pascal.txt"); string text = streamReader.ReadToEnd(); streamReader.Close(); LexicoJava lj = new LexicoJava(text); javaParser s = new javaParser(lj); Sentencia raiz = s.parse(); Console.ReadKey(); }