myatscc(1)

myatscc1

Simple ats2 compiler frontend

Usage

myatscc [options] files ...

Overview

myatscc is a frontend intended to simplify the compilation of ATS source code. myatscc attempts to figure out the necessary flags to compile any .dats file given to it on the command-line. A special comment-based syntax is provided for specifying options to the the myatscc frontend, and these comments are written directly into the source file to be compiled.

Options

--dry

See the commands that myatscc would generate without actually running them.

--gc

For use of the Boehm garbage collector for malloc.

--help

Show usage information.

Examples

Whatever needed for compiling foo.dats should be written as some form of comment inside foo.dats. For instance, the following comment is assumed to be the default (if nothing is given explicitly):

(*
##myatsccdef=\
patscc -D_GNU_SOURCE -DATS_MEMALLOC_LIBC -o $fname($1) $1
*)

Then on the command line the file may be compiled with:

myatscc foo.dats

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

Author

myatscc was written by Hongwei Xi.

This manual page was written by Matthew Danish <[email protected]>, for the Debian project (and may be used by others).

From ats2-lang 0.4.2-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.