vamchale/polyglot

polyglot

By Vanessa McHale <vanessa.mchale@reconfigure.io> on December 4, 2017
This patch is not signed. Learn here why and how to sign your patches.
9XAZamSdyzjxz5N9bXM6ZEJdj8Qsdq4aLhuc8TmJPA1abu82U6PEbEx7ykD1So6AL5RfgiptaSFAzQ4oHKjKCw6G

This patch is in the following branches:

master
In file shake.hs
54

55
56
        let patshome = "/usr/local/lib/ats2-postiats-0.3.8"
        (Exit c, Stderr err) <- command [EchoStderr False, AddEnv "PATSHOME" patshome] "patscc" ["src/polyglot.dats", "-atsccomp", "clang -flto -I/usr/local/lib/ats2-postiats-0.3.8/ccomp/runtime/ -I/usr/local/lib/ats2-postiats-0.3.8/", "-DATS_MEMALLOC_LIBC", "-o", "target/poly", "-cleanaft", "-O2", "-mtune=native"]
        (Exit c, Stderr err) <- command [EchoStderr False, AddEnv "PATSHOME" patshome] "patscc" ["src/polyglot.dats", "-atsccomp", "clang -flto -I/usr/local/lib/ats2-postiats-0.3.8/ccomp/runtime/ -I/usr/local/lib/ats2-postiats-0.3.8/", "-DATS_MEMALLOC_LIBC", "-D_GNU_SOURCE", "-o", "target/poly", "-cleanaft", "-O2", "-mtune=native", "-lpthread"]
        cmd_ [Stdin err] Shell "pats-filter"
1
1
8

9
10
11
12
13
14
15
16
17
18
19
20
21

#include "libats/DATS/athread_posix.dats"
#include "src/concurrency.dats"
#include "src/hx.dats"

%{^
#include "libats/libc/CATS/string.cats"
#include "prelude/CATS/filebas.cats"
%}

(* ****** ****** *)
staload "prelude/DATS/unsafe.dats"
staload "libats/ML/DATS/string.dats"
staload "libats/libc/SATS/stdio.sats"
staload "prelude/SATS/filebas.sats"
staload "src/filetype.sats"
staload "src/concurrency.sats"