# ATS2-0.1.5 released

**URL:** <https://discourse.ats-lang.org/t/ats2-0-1-5-released/364>\
**Category:** Google Group\
**Created:** [November 20, 2014, 5:26pm UTC](https://discourse.ats-lang.org/t/ats2-0-1-5-released/364 "2014-11-20T17:26:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmhwxi](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@gmhwxi](https://discourse.ats-lang.org/u/gmhwxi)\
**Post date:** [November 20, 2014, 5:26pm UTC](https://discourse.ats-lang.org/t/ats2-0-1-5-released/364/1 "2014-11-20T17:26:18Z")

</div>

Hi,

I am glad to announce the release of ATS2-0.1.5.

The official website for ATS is:

[http://www.ats-lang.org](http://www.ats-lang.org)

which has been overhauled recently.

The following packages are included in this release:

ATS2-Postiats-0.1.5.tgz  
ATS2-Postiats-contrib-0.1.5.tgz  
ATS2-Postiats-include-0.1.5.tgz

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 in ATS2-0.1.5.

Cheers!

–Hongwei

Here is a list of major additions and changes since the last release:

1. Supporting %(…) in macro definitions  
#define N 10  
#define N2 N + 1 // it is the same as: #define N1 11  
#define N2 N \* N1 // it is the same as: #define N2 110
2. Issuing an error message if the size of a stack-allocated array  
cannot be determined at compile-time.
3. Fixing bug-2014-10-29 (see doc/BUGS), which caused an error in  
compiling embedded function templates.
4. Improving ats2langweb/Implements.html
5. Fixing bug-2014-11-14 (see doc/BUGS), which caused an error in  
compiling mutually tail-recursive functions
6. Fixing bug-2014-11-14-2 (see doc/BUGS), which caused an error in  
compiling inner functions defined inside mutually tail-recursive  
functions
7. Improving the implementation of ATSLIB/prelude/list\_vt\_mergesort
8. Supporting compilation from ATS to Perl: atscc2pl
9. Issuing the special comment #LINCONSTATUS==i to show the kind of  
an allocated constructor:  
i=0 =\> linear data constructor  
i=1 =\> nonlinear data constructor  
i=2 =\> nonlinear tuple constructor

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server  
from Actuate! Instantly Supercharge Your Business Reports and Dashboards  
with Interactivity, Sharing, Native Excel Exports, App Integration & more  
Get technology previously reserved for billion-dollar corporations, FREE  
[http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk](http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk)  
ats-lang-users mailing list  
[ats-lan...@lists.sourceforge.net](mailto:ats-lan...@lists.sourceforge.net)  
[https://lists.sourceforge.net/lists/listinfo/ats-lang-users](https://lists.sourceforge.net/lists/listinfo/ats-lang-users)

---

<div class="post-metadata">

**Author:** ![He-chien\_Tsai](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@He-chien\_Tsai](https://discourse.ats-lang.org/u/He-chien_Tsai)\
**Post date:** [November 23, 2014, 7:11am UTC](https://discourse.ats-lang.org/t/ats2-0-1-5-released/364/2 "2014-11-23T07:11:11Z")

</div>

Yes, I can see it now.  
Thanks for great works again, I can’t find another language like this!

gmhwxi於 2014年11月21日星期五UTC+8上午1時26分19秒寫道：
