Skip to content

Commit d65f39b

Browse files
author
Sergiu Marton
committed
Ported Interpreter to .NET Core
1 parent 39d380d commit d65f39b

File tree

4 files changed

+12
-119
lines changed

4 files changed

+12
-119
lines changed

PseudocodeInterpreter.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.27703.2035
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PseudocodeInterpreter", "PseudocodeInterpreter\PseudocodeInterpreter.csproj", "{7FD6382B-ACC3-41C9-8D7E-31BA94DA940D}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PseudocodeInterpreter", "PseudocodeInterpreter\PseudocodeInterpreter.csproj", "{2AF84E96-F2F5-4215-8308-010B28ED8B14}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{7FD6382B-ACC3-41C9-8D7E-31BA94DA940D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{7FD6382B-ACC3-41C9-8D7E-31BA94DA940D}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{7FD6382B-ACC3-41C9-8D7E-31BA94DA940D}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{7FD6382B-ACC3-41C9-8D7E-31BA94DA940D}.Release|Any CPU.Build.0 = Release|Any CPU
14+
{2AF84E96-F2F5-4215-8308-010B28ED8B14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{2AF84E96-F2F5-4215-8308-010B28ED8B14}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{2AF84E96-F2F5-4215-8308-010B28ED8B14}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{2AF84E96-F2F5-4215-8308-010B28ED8B14}.Release|Any CPU.Build.0 = Release|Any CPU
1818
EndGlobalSection
1919
GlobalSection(SolutionProperties) = preSolution
2020
HideSolutionNode = FALSE

PseudocodeInterpreter/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 7 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,12 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
43
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{7FD6382B-ACC3-41C9-8D7E-31BA94DA940D}</ProjectGuid>
84
<OutputType>Exe</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>PseudocodeInterpreter</RootNamespace>
11-
<AssemblyName>PseudocodeInterpreter</AssemblyName>
12-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
5+
<TargetFramework>netcoreapp2.1</TargetFramework>
146
</PropertyGroup>
15-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16-
<DebugSymbols>true</DebugSymbols>
17-
<DebugType>full</DebugType>
18-
<Optimize>false</Optimize>
19-
<OutputPath>bin\Debug\</OutputPath>
20-
<DefineConstants>DEBUG;TRACE</DefineConstants>
21-
<ErrorReport>prompt</ErrorReport>
22-
<WarningLevel>4</WarningLevel>
23-
<LangVersion>latest</LangVersion>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DebugType>pdbonly</DebugType>
27-
<Optimize>true</Optimize>
28-
<OutputPath>bin\Release\</OutputPath>
29-
<DefineConstants>TRACE</DefineConstants>
30-
<ErrorReport>prompt</ErrorReport>
31-
<WarningLevel>4</WarningLevel>
32-
</PropertyGroup>
33-
<PropertyGroup>
34-
<StartupObject />
35-
</PropertyGroup>
36-
<ItemGroup>
37-
<Reference Include="Antlr4.Runtime.Standard, Version=4.7.1.0, Culture=neutral, PublicKeyToken=e78b2c5abd1fcb3f, processorArchitecture=MSIL">
38-
<HintPath>..\packages\Antlr4.Runtime.Standard.4.7.1.1\lib\net35\Antlr4.Runtime.Standard.dll</HintPath>
39-
</Reference>
40-
<Reference Include="System" />
41-
<Reference Include="System.Core" />
42-
<Reference Include="System.Xml.Linq" />
43-
<Reference Include="System.Data.DataSetExtensions" />
44-
<Reference Include="Microsoft.CSharp" />
45-
<Reference Include="System.Data" />
46-
<Reference Include="System.Net.Http" />
47-
<Reference Include="System.Xml" />
48-
</ItemGroup>
49-
<ItemGroup>
50-
<Compile Include="src\Program.cs" />
51-
<Compile Include="Properties\AssemblyInfo.cs" />
52-
<Compile Include="src\AntlrFiles\AntlrGenerated\PseudoBaseVisitor.cs" />
53-
<Compile Include="src\AntlrFiles\AntlrGenerated\PseudoLexer.cs" />
54-
<Compile Include="src\AntlrFiles\AntlrGenerated\PseudoParser.cs" />
55-
<Compile Include="src\AntlrFiles\AntlrGenerated\PseudoVisitor.cs" />
56-
<Compile Include="src\Exceptions\ErrorMessages.cs" />
57-
<Compile Include="src\ExtensionMethods.cs" />
58-
<Compile Include="src\Interpreter.cs" />
59-
<Compile Include="src\Objects\BooleanLiteral.cs" />
60-
<Compile Include="src\Objects\Literal.cs" />
61-
<Compile Include="src\Objects\NumberLiteral.cs" />
62-
<Compile Include="src\Objects\StringLiteral.cs" />
63-
<Compile Include="src\Objects\TypeNames.cs" />
64-
<Compile Include="src\PseudoVisitorImpl.cs" />
65-
<Compile Include="src\Scope.cs" />
66-
</ItemGroup>
67-
<ItemGroup>
68-
<Content Include="src\AntlrFiles\antlr-4.7.1-complete.jar" />
69-
</ItemGroup>
7+
708
<ItemGroup>
71-
<None Include="packages.config" />
72-
<None Include="src\AntlrFiles\AntlrGenerated\Pseudo.interp" />
73-
<None Include="src\AntlrFiles\AntlrGenerated\Pseudo.tokens" />
74-
<None Include="src\AntlrFiles\AntlrGenerated\PseudoLexer.interp" />
75-
<None Include="src\AntlrFiles\AntlrGenerated\PseudoLexer.tokens" />
76-
<None Include="src\AntlrFiles\antlr_generate_cmd.bat" />
77-
<None Include="src\AntlrFiles\Pseudo.g4" />
9+
<PackageReference Include="Antlr4.Runtime.Standard" Version="4.7.1.1" />
7810
</ItemGroup>
79-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
80-
</Project>
11+
12+
</Project>

PseudocodeInterpreter/packages.config

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)