FYI.
I created the following on-line directory to hold some small demos for ATS.
http://www.ats-lang.org/COMPILED/.
There are two subdirectory:
doc/
utils/
There is some JS code generated from ATS source in doc/. For instance, here
is
an analog clock:
http://www.ats-lang.org/COMPILED/doc/PROJECT/SMALL/JSclock/myclock1.html
The source code for the clock can be found at:
https://github.com/githwxi/ATS-Postiats/tree/master/doc/PROJECT/SMALL/JSclock
There is also C code generated from ATS source in doc/. To run the C code,
you can use
the sccripts in the following directory:
http://www.ats-lang.org/COMPILED/utils/
For instance, you can execute the command-line below to view a timer:
./wgetccrun_gtk3.sh
http://www.ats-lang.org/COMPILED/doc/PROJECT/SMALL/gtkcairotimer/mytimer1-all_dats.c
You need tcc and GTKĀ±3.0 on the machine you use (in addition to having
ATS2 properly installed).
Cheers!