Interpreter: support implicit multiplication (adjacency) and allow whitespace; update Coco/R frames path casing; add tests for implicit multiplication and function calls; fix project reference casing in tests.

This commit is contained in:
codex 2025-08-29 17:43:07 -05:00
commit 135af2cc49
6 changed files with 47 additions and 5 deletions

View file

@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>CSMic</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<AssemblyName>CSMic.Core</AssemblyName>
<Version>2.0.0-beta-05</Version>
<PackageId>CSMic</PackageId>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="dotnet tool run coco -namespace CSMic.Interpreter -frames $(ProjectDir)cocor $(ProjectDir)cocor/Interpreter.atg" />
</Target>
<Import Project="NuGetPublish.targets" Condition="Exists('NuGetPublish.targets')" />
</Project>