-
Notifications
You must be signed in to change notification settings - Fork 0
/
mct.cmd
59 lines (59 loc) · 1.14 KB
/
mct.cmd
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
@echo off
set PATH=bin.Windows\bin
set p=%~dp0
set n=%~n1
set e=%~x1
goto txl%e%
:txl.java
set l=%p%result\norm\Java\simple.Txl
goto :end
:txl.v
set l=%p%result\norm\Verilog\verilog2.Txl
goto :end
:txl.problem
set l=%p%result\norm\ProblemFrames\problem.Txl
goto :end
:txl.e
set l=%p%result\norm\EventCalculus\event.Txl
goto :end
:txl.xml
set l=%p%result\norm\XML\xml-mct.Txl
goto :end
:txl.q7
set l=%p%result\norm\Q7\q7.Txl
goto :end
:txl.argument
set l=%p%result\norm\Argument\argument.Txl
goto :end
:txl.c
set l=%p%result\norm\C\cid.Txl
goto :end
:txl.sp
set l=%p%result\norm\NLP\nlp.Txl
goto :end
:txl.uncal
set l=%p%Txl\Uncal\uncal2java.Txl
goto :end
:txl.cal
set l=%p%result\norm\Cal\Cal.Txl
goto :end
:txl.uml
set l=%p%result\norm\UML\uml.Txl
goto :end
:txl.argument
set l=%p%result\norm\Argument\argument.Txl
REM set l=%p%Txl\Argument\argument.Txl
goto :end
:txl.cs
set l=%p%result\norm\CSharp\csharp.Txl
goto :end
:txl.cs
set l=Txl\CSharp\cs.txl
goto :end
set l=Txl\%e%.Txl
:end
:txl
if "%1" == "" @echo usage: %0 program [ program_to_compare ]
if "%2" == "" txl -s 1000 -q -i %p%Txl %1 %l%
if not "%2" == "" txl -s 1000 -q -i %p%Txl %1 %l% - -diff %2
:fin