git @ Cat's Eye Technologies PL-GOTO.NET / master bin / PLexceptGOTOdotNET-loadngo
master

Tree @master (Download .tar.gz)

PLexceptGOTOdotNET-loadngo @masterraw · history · blame

#!/bin/sh

# SPDX-FileCopyrightText: Chris Pressey, the original author of this work, has dedicated it to the public domain.
# For more information, please refer to <https://unlicense.org/>
# SPDX-License-Identifier: Unlicense

ILASM=ilasm
THIS=`realpath $0`
HERE=`dirname $THIS`
$HERE/PLexceptGOTOdotNET translate $1 >tmp.cil
# cat tmp.cil
$ILASM tmp.cil /output:program.exe >/dev/null
chmod 755 program.exe
rm tmp.cil
./program.exe
rm program.exe