18 lines
323 B
C#
Raw Normal View History

using System;
using System.IO;
namespace Monodoc.Ecma
{
public class EcmaUrlParserDriver
{
public static void Main (string[] args)
{
var input = new StringReader (args[0]);
var lexer = new EcmaUrlTokenizer (input);
var parser = new EcmaUrlParser ();
Console.WriteLine (parser.yyparse (lexer));
}
}
}