epic numbers.epThis yields new files numbers.arm and numbers. The latter is an executable shell-script that loads the arm interpreter with the former arm program, and reduces prefix terms on its standard input to its standard output:
user> echo "plus(i,i)" | numbers
jxt(i,o)
user>
When called with several .arm, .ep and .rnx files, the compiler will leave the .arm files alone, compile the .ep and .rnx files, and generate a script that loads all relevant .arm files.
Furthermore, when epic is called with the -S option, the generated script will lift standard input to EPIC string representation, and apply the function ppp_bincalc to this lifted string. At the moment, type-checking of external functions is not working correctly, with the -Q option, type-checking is skipped altogether.
epic -S -Q io.ep numbers.arm bincalc.epNow you can use the syntax defined in io.ep:
user> echo "101*101" | bincalc
11001
user>
Type
epicto find out more about compiler options (some of which are only relevant to RNx users).