Click here to Skip to main content
15,897,891 members
Articles / Programming Languages / C#

An Expression Parser for CodeDom

Rate me:
Please Sign up or sign in to vote.
4.78/5 (51 votes)
22 Apr 2009CPOL4 min read 141.2K   1.1K   74  
Tired of writing long, complicated CodeDom expressions? This parser's for you!
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" xmlns:Conversion="urn:Conversion">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{8AB83DA0-8F2A-47FB-A1DB-504CD4024B56}</ProjectGuid>
    <RootNamespace>CodeDomExpParser.TestHarness</RootNamespace>
    <AssemblyName>CodeDomExpParser.TestHarness</AssemblyName>
    <OutputType>Library</OutputType>
    <ApplicationIcon />
    <RunPostBuildEvent>OnSuccessfulBuild</RunPostBuildEvent>
    <PreBuildEvent />
    <PostBuildEvent />
    <StartupObject />
    <NoConfig>false</NoConfig>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <NoStdLib>false</NoStdLib>
    <WarningLevel>4</WarningLevel>
    <NoWarn />
    <DebugSymbols>true</DebugSymbols>
    <Optimize>false</Optimize>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <OutputPath>bin\Debug\</OutputPath>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <NoStdLib>false</NoStdLib>
    <WarningLevel>4</WarningLevel>
    <NoWarn />
    <DebugSymbols>false</DebugSymbols>
    <Optimize>true</Optimize>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <DefineConstants>TRACE</DefineConstants>
    <OutputPath>bin\Release\</OutputPath>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
    <Reference Include="nunit.core">
      <HintPath>..\..\..\Program Files\NUnit 2.2.7\bin\nunit.core.dll</HintPath>
      <Private />
    </Reference>
    <Reference Include="nunit.framework">
      <HintPath>..\..\..\Program Files\NUnit 2.2.7\bin\nunit.framework.dll</HintPath>
      <Private />
    </Reference>
    <Reference Include="cscompmgd" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="DogFood.cs" />
    <Compile Include="TestParser.cs" />
    <Compile Include="TestTokenizer.cs" />
  </ItemGroup>
  <ItemGroup />
  <ItemGroup>
    <ProjectReference Include="C:\Temp\programming\CodeDomExpEval_Net20\CodeDomExpEval\CodeDomExpParser.csproj">
      <Project>{2708945F-AAC7-45E1-88C1-A6556143C926}</Project>
      <Name>CodeDomExpParser</Name>
      <Private />
    </ProjectReference>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Microsoft
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions