Hi,
On Tue, Dec 17, 2019 at 1:05 PM gmhwxi <
gmh...@gmail.com> wrote:
> With that thought on my mind, I have just implemented a (naive) interpreter for ATS3. Please find the code
> for this interpreter in the following repository:
>
>
https://github.com/xanadu-lang/xinterp
>
> The basic idea is to structure xinterp as a project external to ATS/Xanadu.
>
> After git-cloing xinterp, please also git-clone the following repo inside the xinterp repo:
>
>
https://github.com/xanadu-lang/xanadu
Umm...
```
$ pwd
/home/kiwamu/src/xinterp
$ ls ../xanadu/srcgen/xats/SATS
basics.sats effect.sats label0.sats parsing.sats statyp2.sats
t1xread.sats trans23.sats
dynexp0.sats filpath.sats lexbuf.sats staexp0.sats symbol.sats
t2xread.sats trans33.sats
dynexp1.sats filsrch.sats lexing.sats staexp1.sats symenv.sats
t3xread.sats trans3t.sats
dynexp2.sats fixity.sats locinfo.sats staexp2.sats symmap.sats
trans01.sats xerrory.sats
dynexp3.sats global.sats nmspace.sats stamp0.sats synread.sats
trans12.sats
$ make
/home/kiwamu/src/ATS-Postiats/bin/patsopt -o BUILD/intrep0_sats.c
--static SATS/intrep0.sats
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1547(line=47, offs=1) --
1584(line=48, offs=29): error(1): the file
[./../xanadu/srcgen/xats/SATS/basics.sats] is not available for
staloading.
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1588(line=50, offs=1) --
1625(line=51, offs=29): error(1): the file
[./../xanadu/srcgen/xats/SATS/label0.sats] is not available for
staloading.
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1626(line=52, offs=1) --
1664(line=53, offs=30): error(1): the file
[./../xanadu/srcgen/xats/SATS/filpath.sats] is not available for
staloading.
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1665(line=54, offs=1) --
1703(line=55, offs=30): error(1): the file
[./../xanadu/srcgen/xats/SATS/locinfo.sats] is not available for
staloading.
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1730(line=59, offs=1) --
1773(line=60, offs=35): error(1): the file
[./../xanadu/srcgen/xats/SATS/lexing.sats] is not available for
staloading.
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1800(line=64, offs=1) --
1844(line=65, offs=36): error(1): the file
[./../xanadu/srcgen/xats/SATS/dynexp1.sats] is not available for
staloading.
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1848(line=67, offs=1) --
1892(line=68, offs=36): error(1): the file
[./../xanadu/srcgen/xats/SATS/staexp2.sats] is not available for
staloading.
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1893(line=69, offs=1) --
1937(line=70, offs=36): error(1): the file
[./../xanadu/srcgen/xats/SATS/statyp2.sats] is not available for
staloading.
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1938(line=71, offs=1) --
1982(line=72, offs=36): error(1): the file
[./../xanadu/srcgen/xats/SATS/dynexp2.sats] is not available for
staloading.
/home/kiwamu/src/xinterp/SATS/intrep0.sats: 1986(line=74, offs=1) --
2030(line=75, offs=36): error(1): the file
[./../xanadu/srcgen/xats/SATS/dynexp3.sats] is not available for
staloading.
patsopt(TRANS1): there are [10] errors in total.
exit(ATS): uncaught exception:
_2home_2kiwamu_2src_2ATS_2dPostiats_2src_2pats_error_2esats__FatalErrorExn(1025)
make: *** [Makefile:72: BUILD/intrep0_sats.c] Error 1
rm BUILD/intrep0_sats.c
```
Best regards,
--
Kiwamu Okabe at METASEPI DESIGN