view interps/c-intercal/c-intercal @ 12274:3c04e9ef7a3a draft

<kspalaiologos> `` cp -rf /hackenv/tmp/asmbf-1.2.7/bin/* /hackenv/lib/kps/
author HackEso <hackeso@esolangs.org>
date Tue, 31 Dec 2019 17:47:30 +0000
parents afc311c3d00b
children
line wrap: on
line source

#!/bin/bash
export CPATH=/hackenv/interps/c-intercal/inst/include/ick-0.29
if [ ! "$1" ]
then
    exit 1
fi

INTERCAL="`dirname $0`/inst"

cp "$1" /tmp/$$.i
$INTERCAL/bin/ick /tmp/$$.i
if [ -e /tmp/$$ ]
then
    /tmp/$$
fi
rm -f /tmp/$$.i /tmp/$$