Skip to content

Commit 5dbc15c

Browse files
committed
Add Language project from Marek
https://github.com/mkmarek/graphql-dotnetcore
1 parent 1ae5a3d commit 5dbc15c

File tree

112 files changed

+4771
-3054
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+4771
-3054
lines changed

GraphQL.sln

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
4-
VisualStudioVersion = 14.0.24720.0
4+
VisualStudioVersion = 14.0.25420.1
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GraphQL", "src\GraphQL\GraphQL.csproj", "{C0E08B04-8A0D-4196-967C-8850825041B0}"
77
EndProject
@@ -11,6 +11,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GraphQL.GraphiQL", "src\Gra
1111
EndProject
1212
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GraphQL.StarWars", "src\GraphQL.StarWars\GraphQL.StarWars.csproj", "{3255C0DC-9F24-4423-8BA3-3B979D0E90E2}"
1313
EndProject
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GraphQL.Language", "src\GraphQL.Language\GraphQL.Language.csproj", "{75885B61-3825-4EF0-BBC1-86E098518035}"
15+
EndProject
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GraphQL.Language.Tests", "src\GraphQL.Language.Tests\GraphQL.Language.Tests.csproj", "{AA8CFAB5-E9C3-42BF-9E63-CA6B191BCEFF}"
17+
EndProject
1418
Global
1519
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1620
Debug|Any CPU = Debug|Any CPU
@@ -33,6 +37,14 @@ Global
3337
{3255C0DC-9F24-4423-8BA3-3B979D0E90E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
3438
{3255C0DC-9F24-4423-8BA3-3B979D0E90E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
3539
{3255C0DC-9F24-4423-8BA3-3B979D0E90E2}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{75885B61-3825-4EF0-BBC1-86E098518035}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{75885B61-3825-4EF0-BBC1-86E098518035}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{75885B61-3825-4EF0-BBC1-86E098518035}.Release|Any CPU.ActiveCfg = Release|Any CPU
43+
{75885B61-3825-4EF0-BBC1-86E098518035}.Release|Any CPU.Build.0 = Release|Any CPU
44+
{AA8CFAB5-E9C3-42BF-9E63-CA6B191BCEFF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45+
{AA8CFAB5-E9C3-42BF-9E63-CA6B191BCEFF}.Debug|Any CPU.Build.0 = Debug|Any CPU
46+
{AA8CFAB5-E9C3-42BF-9E63-CA6B191BCEFF}.Release|Any CPU.ActiveCfg = Release|Any CPU
47+
{AA8CFAB5-E9C3-42BF-9E63-CA6B191BCEFF}.Release|Any CPU.Build.0 = Release|Any CPU
3648
EndGlobalSection
3749
GlobalSection(SolutionProperties) = preSolution
3850
HideSolutionNode = FALSE

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
This is a work-in-progress implementation of [Facebook's GraphQL](https://github.com/facebook/graphql) in .NET.
88

9-
This project uses [Antlr4](https://github.com/tunnelvisionlabs/antlr4cs) for the GraphQL grammar definition.
9+
This project uses a lexer/parser originally written by [Marek Magdziak](https://github.com/mkmarek) and released with a MIT license. Thank you Marek!
1010

1111
## Installation
1212

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{AA8CFAB5-E9C3-42BF-9E63-CA6B191BCEFF}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>GraphQL.Language.Tests</RootNamespace>
11+
<AssemblyName>GraphQL.Language.Tests</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
</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+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>pdbonly</DebugType>
26+
<Optimize>true</Optimize>
27+
<OutputPath>bin\Release\</OutputPath>
28+
<DefineConstants>TRACE</DefineConstants>
29+
<ErrorReport>prompt</ErrorReport>
30+
<WarningLevel>4</WarningLevel>
31+
</PropertyGroup>
32+
<ItemGroup>
33+
<Reference Include="System" />
34+
<Reference Include="System.Core" />
35+
<Reference Include="System.Xml.Linq" />
36+
<Reference Include="System.Data.DataSetExtensions" />
37+
<Reference Include="Microsoft.CSharp" />
38+
<Reference Include="System.Data" />
39+
<Reference Include="System.Net.Http" />
40+
<Reference Include="System.Xml" />
41+
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
42+
<HintPath>..\..\packages\xunit.abstractions.2.0.1-rc2\lib\net35\xunit.abstractions.dll</HintPath>
43+
<Private>True</Private>
44+
</Reference>
45+
<Reference Include="xunit.assert, Version=2.2.0.3300, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
46+
<HintPath>..\..\packages\xunit.assert.2.2.0-beta2-build3300\lib\netstandard1.0\xunit.assert.dll</HintPath>
47+
<Private>True</Private>
48+
</Reference>
49+
<Reference Include="xunit.core, Version=2.2.0.3300, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
50+
<HintPath>..\..\packages\xunit.extensibility.core.2.2.0-beta2-build3300\lib\net45\xunit.core.dll</HintPath>
51+
<Private>True</Private>
52+
</Reference>
53+
<Reference Include="xunit.execution.desktop, Version=2.2.0.3300, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
54+
<HintPath>..\..\packages\xunit.extensibility.execution.2.2.0-beta2-build3300\lib\net45\xunit.execution.desktop.dll</HintPath>
55+
<Private>True</Private>
56+
</Reference>
57+
</ItemGroup>
58+
<ItemGroup>
59+
<Compile Include="LexerTests.cs" />
60+
<Compile Include="ParserTests.cs" />
61+
<Compile Include="Properties\AssemblyInfo.cs" />
62+
<Compile Include="SourceTests.cs" />
63+
</ItemGroup>
64+
<ItemGroup />
65+
<ItemGroup>
66+
<ProjectReference Include="..\GraphQL.Language\GraphQL.Language.csproj">
67+
<Project>{75885b61-3825-4ef0-bbc1-86e098518035}</Project>
68+
<Name>GraphQL.Language</Name>
69+
</ProjectReference>
70+
</ItemGroup>
71+
<ItemGroup>
72+
<None Include="data\KitchenSink.graphql">
73+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
74+
</None>
75+
<None Include="packages.config" />
76+
</ItemGroup>
77+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
78+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
79+
Other similar extension points exist, see Microsoft.Common.targets.
80+
<Target Name="BeforeBuild">
81+
</Target>
82+
<Target Name="AfterBuild">
83+
</Target>
84+
-->
85+
</Project>

0 commit comments

Comments
 (0)