summaryrefslogtreecommitdiff
path: root/cgil/rlhc-main.lm
blob: f9abea7e43c585e7f3587ba86c09e3b64cbce25a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
InputFile: str = argv->pop()
OutputFile: str = argv->pop()

#
# Open input and parse
#
Input: stream = open( InputFile, "r" )
parse Start: start[ Input ]
if ( !Start ) {
	print( error, '\n' )
	exit(1)
}

#
# Translate
#
Output: stream = open( OutputFile, "w" )
trans( Output, Start )