//************************************************************************* //*** FUNCTION Main //*** ********************************************************************* //*** DESCRIPTION : This is the main program driver //*** INPUT ARGS : string[] args //*** OUTPUT ARGS : N/A //*** IN/OUT ARGS : N/A //*** RETURN : N/A //************************************************************************* static void Main(string[] args) { Chronicler.WriteLine("Loading symbols..."); Globals.DataStructures dataStructures = new Globals.DataStructures(); string filePath; if (args.Length == 0) { Chronicler.WriteLine("Please enter the search file name: "); filePath = Console.ReadLine(); } else { filePath = args[0]; } Chronicler.HoldOutput(); Chronicler.NewLine(); Chronicler.NewLine(); PassOne.Execute(dataStructures, out System.Collections.Generic.List <PassOne.ExpresionLine> expresionLines, "../../../" + filePath); //symbolTable.SearchSymbols("../../../" + filePath); Chronicler.HoldOutput(); PassTwo.Execute(dataStructures, expresionLines, "../../../" + filePath); }