FYI.
Here is another MYATSCCDEF that allows you to
compile and run a single-file ATS program without
installing patscc/patsopt (but you do need ATS2-include
for all the necessary header files):
(*
##myatsccdef=\
curl --data-urlencode mycode@$1 \
http://bucs320-tutoriats.rhcloud.com/\SERVICE/assets/patsopt_ccats_eval_code_0_.php | \
php -R 'if (\$argn != \"\") echo(json_decode(urldecode(\$argn))[1].\"\\n\");' | \
tcc -run -std=c99 -D_XOPEN_SOURCE -I\${PATSHOME} -I\${PATSHOME}/ccomp/runtime -L\${PATSHOME}/ccomp/atslib/lib -o $fname($1) -x c -
*)
Please visit the link:
http://www.ats-lang.org/Downloads.html#Install_of_ATS2_includefor information on installing ATS2-include.
If you don't have 'tcc', you can try 'gcc' or 'clang'.
Cheers!