view bin/cc @ 11989:fdd44c90d7d2 draft

<kspalaiologos> le//rn asmbf//Wrapper around bfasm, that automatically converts slashes to newlines and feeds it into original compiler
author HackEso <hackeso@esolangs.org>
date Thu, 24 Oct 2019 19:43:23 +0000
parents c989a1669243
children fb0eea93d4e9
line wrap: on
line source

#!/bin/sh
echo "$@" | sed 's/\\/\n/g' | gcc -w -Wfatal-errors -std=c11 -O2 -x c - -o /tmp/a.out && /tmp/a.out