The primary change in this release is the added support for
externally solving constraints gathered during typechecking.
Currently, the command [patsolve_z3] can be generated for this
purpose. Please see ATS2-contrib/ATS-extsolve-z3 for more details.
I have included ATS2-Postiats-contrib (instead of
releasing it separately) as it is truly by now an
indispensible part of ATS2.
After installing ATS-Postiats-include, one can compile
the C code generated from ATS source without installing
the ATS compiler. So a convenient way to distribute software
written in ATS is to simply release the C code generated
from the ATS source.
See below for some major additions and changes since the
last release (ATS2-0.1.13).
Cheers!
–Hongwei
This is the 23rd release of ATS2, the successor of the ATS
programming language. The compiler for ATS2 is given the name
ATS/Positats, ATS2/Postiats or simply Postiats.
The installaton for dependency to libgmp3-dev may be changed into a
dependency to libgmp-dev, which ends to be libgmp10-dev. That’s not the
first time I build ATS with it, and I never get an error. GMP3 is now
considered obsolete, if I’m not wrong.
Changed. libgmp-dev replaces libgmp3-dev.
The installation for dependency to libjson-c-dev is missing.
Added.
One should not run this script without carefully reviewing it first
(ex. it appends to .bashrc, which may not be Ok nor correct for various
reasons).
You are right. The script is intended for use on a Cloud9 account.
I hope to have a look to patsolve_z3 somewhere in the future ; it built
successfully, at least.
I also wonder since some time, if it’s Ok to use patscc2js (and now
patsolve_z3) without a wrapper script in bin. I always created one for
patscc2js and moved the binary to lib/ats2-postiats-0.2.0/bin like it is
automatically done for patscc and patsopt, but I wonder if it’s really
required.
No, it is not required as long as ${PATSHOME}/bin is included in ${PATH}.
You can find the following lines as line 66 and line 67
(cd ATS2-contrib/projects/MEDIUM/CATS-parsemit && time make all)
(cd ATS2-contrib/projects/MEDIUM/CATS-atsccomp/CATS-atscc2js && time make
build && mv -f atscc2js ${PATSHOME}/bin)
Basically, you need to compile CATS-parsemit before you can compile
CATS-atscc2js.
I am still thinking about a proper way to package and distribute ATS code…On Wed, Jun 10, 2015 at 1:24 AM, ‘Yannick Duchêne’ via ats-lang-users < ats-lan...@googlegroups.com> wrote:
Le mercredi 10 juin 2015 06:27:22 UTC+2, gmhwxi a écrit :
Fixed. Thanks!
That’s me who have to thanks .
I hope I’m not to say something wrong, but I feel I’m facing an error
trying to rebuild ATSCC2JS. make pkgreloc fails. I tried to fix it
changing line 61 of the Makfile
The installaton for dependency to libgmp3-dev may be changed into a
dependency to libgmp-dev, which ends to be libgmp10-dev. That’s not the
first time I build ATS with it, and I never get an error. GMP3 is now
considered obsolete, if I’m not wrong.
The installation for dependency to libjson-c-dev is missing.
One should not run this script without carefully reviewing it first
(ex. it appends to .bashrc, which may not be Ok nor correct for various
reasons).
I hope to have a look to patsolve_z3 somewhere in the future ; it built
successfully, at least.
I also wonder since some time, if it’s Ok to use patscc2js (and now
patsolve_z3) without a wrapper script in bin. I always created one for
patscc2js and moved the binary to lib/ats2-postiats-0.2.0/bin like it is
automatically done for patscc and patsopt, but I wonder if it’s really
required.Le mercredi 10 juin 2015 07:40:48 UTC+2, gmhwxi a écrit :
You can find the following lines as line 66 and line 67
(cd ATS2-contrib/projects/MEDIUM/CATS-parsemit && time make all)
(cd ATS2-contrib/projects/MEDIUM/CATS-atsccomp/CATS-atscc2js && time make
build && mv -f atscc2js ${PATSHOME}/bin)
Basically, you need to compile CATS-parsemit before you can compile
CATS-atscc2js.
I am still thinking about a proper way to package and distribute ATS
code…
On Wed, Jun 10, 2015 at 1:24 AM, ‘Yannick Duchêne’ via ats-lang-users < ats-l...@googlegroups.com <javascript:>> wrote:
Le mercredi 10 juin 2015 06:27:22 UTC+2, gmhwxi a écrit :
Fixed. Thanks!
That’s me who have to thanks .
I hope I’m not to say something wrong, but I feel I’m facing an error
trying to rebuild ATSCC2JS. make pkgreloc fails. I tried to fix it
changing line 61 of the Makfile
I hope I’m not to say something wrong, but I feel I’m facing an error
trying to rebuild ATSCC2JS. make pkgreloc fails. I tried to fix it
changing line 61 of the Makfile