Mercurial > repos > tabletprog
view compile @ 107:152b6cfb98b6
Click-to-select no longer selects the whole lambda when it shouldn't and no longer replaces the selected code with a single symbol.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 12 Apr 2013 19:27:33 -0700 |
parents | 7f635666c73d |
children | 5071d601fe70 |
line wrap: on
line source
#!/bin/sh cname=`basename $1`.c if test -f "$cname"; then rm "$cname" fi ./tpc $1 -o $cname if test ! -s "$cname"; then echo "Compilation to C failed" exit 1 fi bin=`echo $1 | sed s/\.tp//` shift gcc $@ -o $bin $cname runtime/object.c -lgc