Overview
Comment:Put -fixcc stuff _after_ other files - avoides interaction with
complicated _sub.r
Add usage info
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 8edf0ba05b061737bb6e84ef38a8c870df37be9ef364a4fcfc9bc78d4dec3514
User & Date: gawthrop@users.sourceforge.net on 2001-05-08 08:25:02
Other Links: branch diff | manifest | tags
Context
2001-05-08
08:30:12
Added line to reverse the x^y --> pow(x,y) in default _simp file to
prettyfy LaTeX
check-in: 3c4e19428e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:25:02
Put -fixcc stuff _after_ other files - avoides interaction with
complicated _sub.r
Add usage info
check-in: 8edf0ba05b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2001-05-01
14:19:07
Physiological systems used for Teaching Control V at Glasgow check-in: 45bb5253a4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/cse2smx_lang from [01dd94a076] to [2254554969].

35
36
37
38
39
40
41







42
43
44
45
46
47
48
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55







+
+
+
+
+
+
+







		;;
    *)
	echo $1 is an unknown option
        exit;;
  esac
  shift
done

## Representation
if [ -z $1 ]; then
    echo 'usage [options] cse2smx_lang system [smx|smxa|smxax]'
    exit
fi


# Language
if [ -n "$3" ]; then
    lang=$3
else
    lang="m"
fi
98
99
100
101
102
103
104
105
106
107
108
109
110
111




112
113
114
115
116
117
118
105
106
107
108
109
110
111



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126







-
-
-




+
+
+
+







rm -f $1_$rep.body

# Use reduce to accomplish the transformation
$SYMBOLIC << EOF  >cse2smx_lang.log

lang := $lang;

%% Fixes for c and cc (if needed)
$include;

in "$1_subs.r";
in "$1_def.r";
in "$1_cse.r";
in "$1_cr.r";

%% Fixes for c and cc (if needed)
$include;


clear mttx; % Dont need this now - use mkid instead

OFF Echo;

% Load the general translator package
LOAD GENTRAN;


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]