Exemplo n.º 1
0
		static int Main(string[] args)
		{
			var compiler = new Compiler(new HttpNfaGenerator());

			var command = "compile";//"update";

			var path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + @"\";

			compiler.ExecuteCommand(
				command,
				"HttpMessageReader",
				"Http.Message",
				path + "http.mark.txt",
				path + "suppress.warning.txt",
				path + "http.all-marks.txt");

			return 0;
		}
Exemplo n.º 2
0
		static int Main(string[] args)
		{
			var compiler = new Compiler(new SipNfaGenerator());

			var command = (args.Length > 0) ? args[0] : "compile";

			var path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + @"\";

			compiler.ExecuteCommand(
				command,
				"SipMessageReader",
				"Sip.Message",
				path + "sip.marks.txt",
				path + "suppress.warning.txt",
				path + "sip.all-marks.txt");

			return 0;
		}