FYI.

I added an example showing a way to parse a table in the CSV format:

https://github.com/ats-lang/ATS-CodeBook/tree/master/RECIPE/CSV-parsing

This example also shows you how to use ATS as a scripting language (if you
can get tcc (https://bellard.org/tcc/) installed).

On Tuesday, January 9, 2018 at 10:56:42 PM UTC-5, gmhwxi wrote:
>
> Hi,
>
> I have put together some code to demonstrate how to do various "practical" 
> stuff in ATS:
>
> https://github.com/ats-lang/ATS-CodeBook/
>
> This is an ongoing project and new code will be added from time to time.
>
> Functional programming done in ATS can be of quite different style from 
> that in ML or Haskell. I would
> really like to illustrate this point based on concrete examples. For 
> instance, in ReadFromSTDIN3, a LINEAR
> stream is built to handle user's input that may be interrupted by a signal 
> (SIGALRM). As far as I can tell, this
> kind of stream is unique in ATS; it provides high-level programming 
> support while being very efficient both
> time-wise and memory-wise.
>
> Also, I would really like to emphasize the use of npm-based packages for 
> constructing programs in ATS. This
> is a great way for people to share code. I will try to say more on this 
> later.
>
> Cheers,
>
> --Hongwei
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ats-lang-users/e476ad76-30c8-43af-ba9e-c64ac0855fa6%40googlegroups.com.

Reply via email to