-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinterpc.fsproj
85 lines (75 loc) · 2.83 KB
/
interpc.fsproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<FsLex Include="CLex.fsl">
<OtherFlags>--module CLex --unicode</OtherFlags>
</FsLex>
<FsYacc Include="CPar.fsy">
<OtherFlags>--module CPar</OtherFlags>
</FsYacc>
<Compile Include="Absyn.fs" />
<Compile Include="Debug.fs" />
<Compile Include="CPar.fs" />
<Compile Include="CLex.fs" />
<Compile Include="Parse.fs" />
<Compile Include="Interp.fs" />
<Compile Include="interpc.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FsLexYacc" Version="10.2.0" />
</ItemGroup>
<ItemGroup>
<MyItem Include="example\ex9.c" Args ="8"/>
<!-- <MyItem Include="example\variable.c" Args ="8"/> -->
<!-- <MyItem Include="example\function1.c" Args ="8"/> -->
<!-- <MyItem Include="example\ex1.c" Args ="8"/> -->
<!-- <MyItem Include="example\ex2.c" /> -->
<!-- <MyItem Include="example\ex3.c" Args ="8"/> -->
<!-- <MyItem Include="example\ex4.c" Args ="8"/> -->
<!-- <MyItem Include="example\ex5.c" Args ="8"/>
<MyItem Include="example\ex6.c" Args ="8"/>
<MyItem Include="example\ex7.c" Args =""/>
<MyItem Include="example\ex8.c" Args =""/>
<MyItem Include="example\ex9.c" Args ="8"/>
<MyItem Include="example\ex10.c" Args ="8"/>
<MyItem Include="example\ex11.c" />
<MyItem Include="example\ex12.c" />
<MyItem Include="example\ex13.c" />
<MyItem Include="example\ex14.c" />
<MyItem Include="example\ex15.c" />
<MyItem Include="example\ex16.c" />
<MyItem Include="example\ex17.c" />
<MyItem Include="example\ex18.c" Args="0 0" />
<MyItem Include="example\ex19.c" />
<MyItem Include="example\ex20.c" />
<MyItem Include="example\ex21.c" />
<MyItem Include="example\ex22.c" />
<MyItem Include="example\ex23.c" />
<MyItem Include="example\ex24.c" />
<MyItem Include="example\ex25.c" /> -->
<!-- <MyItem Include="example\emptymain.c" Args ="8"/>
<MyItem Include="example\global.c" Args ="8"/>
<MyItem Include="example\variable.c" Args ="8"/>
<MyItem Include="example\array.c" Args ="8"/>
<MyItem Include="example\onearg.c" Args ="8"/>
<MyItem Include="example\assign.c" Args ="8"/> -->
<!-- <MyItem Include="example\if.c" Args ="8"/> -->
<!-- <MyItem Include="example\while.c" Args ="8"/> -->
<!-- <MyItem Include="example\pointer.c" Args ="8"/> -->
<!-- <MyItem Include="example\expr.c" Args ="8"/> -->
<!-- <MyItem Include="example\return.c" Args ="8"/> -->
<!-- <MyItem Include="example\return1.c" Args ="8"/> -->
<!-- <MyItem Include="example\function.c" Args ="8"/> -->
<!-- <MyItem Include="example\function1.c" Args ="8"/> -->
<!-- <MyItem Include="example\declare.c" Args ="8"/> -->
</ItemGroup>
<Target Name="ccrun">
<Exec Command="
echo -----------interprete------------
dotnet run --project interpc.fsproj %(MyItem.RelativeDir)%(MyItem.FileName).c %(MyItem.Args)"
/>
</Target>
</Project>