https://github.com/RichardMoot/GrailLight
Raw File
Tip revision: 67fbacd0e365d9008c021016377c0cfe1f1e309d authored by Richard Moot on 27 April 2021, 15:02:38 UTC
Update Supertag.tcl
Tip revision: 67fbacd
Makefile.in
addf = @SED@ \
	-e 's,~/checkout/Grail/grammars/big_french_drt.pl,../grammars/big_french_drt,g'
addgl = @SED@ \
        -e 's/chart.pl/grail_light.pl/g'
addglc = @SED@ \
        -e 's/chart.pl/grail_light_cr.pl/g'
addglnd = @SED@ \
        -e 's/grail_light.pl/grail_light_nd.pl/g'


all: grail_light.pl grail_light_cr.pl grail_light_nd.pl parser.tcl parser_cr.tcl

chart_lp.pl: chart.pl
	@SED@ -e 's/%LP//g' chart.pl > chart_lp.pl
chart_cr.pl: chart.pl
	@SED@ -e 's/%CR//g' chart.pl > chart_cr.pl

grail_light.pl: chart_lp.pl
	$(addf) chart_lp.pl | $(addgl) | tail +2 > grail_light.pl
grail_light_nd.pl: grail_light.pl
	@SED@ -e 's/%output_proofs(nd)./output_proofs(nd)./g' grail_light.pl | @SED@ -e 's/output_proofs(chart)./%output_proofs(chart)./g' | $(addglnd)  > grail_light_nd.pl
grail_light_cr.pl: chart_cr.pl
	$(addf) chart_cr.pl | $(addglc) | tail +2 > grail_light_cr.pl

parser.tcl: gui.tcl
	@SED@ -e 's/#LP //g' gui.tcl > parser.tcl
parser_cr.tcl: gui.tcl
	@SED@ -e 's/#CR //g' gui.tcl > parser_cr.tcl

back to top