diff --git a/infix.txt b/infix.txt new file mode 100644 index 0000000..e16379a --- /dev/null +++ b/infix.txt @@ -0,0 +1,5 @@ +1 + 1 +2 * 5 + 1 +2 * ( 5 + 1 ) +3 * x + ( 9 + y ) / 4 +A - B * ( C + D ) / E \ No newline at end of file diff --git a/justin.tv.sln b/justin.tv.sln new file mode 100644 index 0000000..ce43003 --- /dev/null +++ b/justin.tv.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "justin.tv", "justin.tv\justin.tv.vcxproj", "{B1B2D008-74BC-4438-AA26-98C1143AAD07}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B1B2D008-74BC-4438-AA26-98C1143AAD07}.Debug|Win32.ActiveCfg = Debug|Win32 + {B1B2D008-74BC-4438-AA26-98C1143AAD07}.Debug|Win32.Build.0 = Debug|Win32 + {B1B2D008-74BC-4438-AA26-98C1143AAD07}.Release|Win32.ActiveCfg = Release|Win32 + {B1B2D008-74BC-4438-AA26-98C1143AAD07}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/run.bat b/run.bat new file mode 100644 index 0000000..6221aa6 --- /dev/null +++ b/run.bat @@ -0,0 +1,2 @@ +.\Debug\justin.tv.exe infix.txt -r > output_with_r_option.txt +.\Debug\justin.tv.exe infix.txt > output_without_r_option.txt \ No newline at end of file