# Here we build the final generator , an inverted transducer of the analyzer. # It is dependent upon smn.save m.fst: t.bin lexc/vf.lexc @printf "compile-source lexc/vf.lexc \n\ read-rules t.bin \n\ compose-result \n\ save-result m.fst \n\ quit \n" > m.tmp @lexc < m.tmp rm -f m.tmp t.bin: twolc/t.twolc @printf "read-grammar twolc/t.twolc \n\ compile \n\ save-binary t.bin \n\ quit \n" > t.tmp @twolc < t.tmp @rm -f t.tmp # Removing all binary files: clean: @rm -f *.fst *.bin