<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net6.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <NoWarn>CS3021; CS0162; CS0164</NoWarn>
    <!-- <Nullable>enable</Nullable> -->
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Antlr4.CodeGenerator" Version="4.6.6">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
    <PackageReference Include="antlr4.runtime" Version="4.6.6" />
  </ItemGroup>

  <ItemGroup>
    <Antlr4 Update="Simple.g4">
      <Visitor>true</Visitor>
      <Listener>false</Listener>
      <!-- <Generator>MSBuild:Compile</Generator> -->
      <CustomToolNamespace>SimpleCompiler</CustomToolNamespace>
    </Antlr4>
  </ItemGroup>
</Project>
