Atscc2pl: compiling ATS to Perl

FYI.

Now there is a tool for compiling ATS into Perl:

https://github.com/githwxi/ATS-Postiats-contrib/tree/master/projects/MEDIUM/ATS-parse-emit/Perl

There are quite a few examples in the above directory.

The library code needed for the Perl code generated from ATS source is here:

https://github.com/githwxi/ATS-Postiats-contrib/tree/master/contrib/libatscc/libatscc2pl

So far, the following one is the largest working example:

Cheers!

–Hongwei

Of course, all these years later, I was curious what would turn up if I
searched for “functional perl”.

I came to this page hopefully, but left feeling a bit worse than I had at
the start:

Although I don’t think atscc2pl can easily deal with this low-level bug (at
least you don’t get it for free), no one seems to have bothered rigging up
a scheme to enforce pure subroutines in the few minutes I spent looking. So
at least ATS offers this.On Tue, Nov 18, 2014 at 4:11 PM, Barry Schwartz < chemoe...@chemoelectric.org> wrote:

gmhwxi gmh...@gmail.com skribis:

It is mostly a straightforward exercise. I ended up using more
than 95% of atscc2php to construct atscc2pl.

I have to that I don’t remember writing a single program in Perl after

The Perl now is very different from the Perl I once used. I am looking
forward
to gaining some new Perl experience :slight_smile:

Same here, except I want my new Perl experience taken
back. :smiley: I used it to write some of my simulations at
Bitbucket
,
on grounds of its widespread availability. Perl has references and
stuff like that now.

I use Awk more often. Any idea when we can have
atscc2awk? :slight_smile:


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 ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ats-lang-users/20141118211100.GB25873%40crud
.

Brandon Barker
brandon...@gmail.com

as an old man, i have to say: yes!

You can likely find this at your local book store:On Nov 18, 2014 1:33 PM, “gmhwxi” gmh...@gmail.com wrote:

It is mostly a straightforward exercise. I ended up using more
than 95% of atscc2php to construct atscc2pl.

I have to that I don’t remember writing a single program in Perl after
2000.
The Perl now is very different from the Perl I once used. I am looking
forward
to gaining some new Perl experience :slight_smile:

On Tuesday, November 18, 2014 1:22:04 PM UTC-5, Raoul Duke wrote:

as an old man, i have to say: yes!


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 ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ats-lang-users/ef0200e5-39bc-48cd-8aea-bac4c0b31562%40googlegroups.com
https://groups.google.com/d/msgid/ats-lang-users/ef0200e5-39bc-48cd-8aea-bac4c0b31562%40googlegroups.com?utm_medium=email&utm_source=footer
.

what on earth is anybody doing with any kind of perl anything these
days, anyway? and even if for some reason you gotta do it with perl,
why the heck would anybody expect it to not be insane write-only
mumbo-jumbo, which of course means it cannot fall into the camp of,
“obviously no bugs”.

(i did a fair bit of perl in my time. i even liked it once or twice.)

It is mostly a straightforward exercise. I ended up using more
than 95% of atscc2php to construct atscc2pl.

I have to that I don’t remember writing a single program in Perl after 2000.
The Perl now is very different from the Perl I once used. I am looking
forward
to gaining some new Perl experience :)On Tuesday, November 18, 2014 1:22:04 PM UTC-5, Raoul Duke wrote:

as an old man, i have to say: yes!