to the jvm!

41 views
Skip to first unread message

Raoul Duke

unread,
May 19, 2016, 7:14:56 PM5/19/16
to ats-lang-users

Raoul Duke

unread,
May 19, 2016, 7:17:38 PM5/19/16
to ats-lang-users
as in, i dream of having the ATS tool chain running on the JVM (ideally openjdk's) so i can avoid having to compile them with gcc on my random linux box. :-)

gmhwxi

unread,
May 19, 2016, 8:04:12 PM5/19/16
to ats-lang-users
With a tool like lljvm, it should be straightforward to realize your dream :)

I compiled ATS toolchain to Javascript and used node.js to do everything.
It was a bit of fun. However, I just don't feel like using JS when I can use C :)

I hope someone would be willing to step up and build the ATS tool chain in JVM.
I will be happy to answer questions if needed.

Artyom Shalkhakov

unread,
May 20, 2016, 3:55:37 AM5/20/16
to ats-lang-users
On Friday, May 20, 2016 at 5:14:56 AM UTC+6, Raoul Duke wrote:

I'm sorry, it doesn't seem to be actively maintained. 

There is also a possibly newer fork, here:

https://github.com/hyc/lljvm

I don't know if it will help or not.

What do you think about going the ATSCC route? Will it not suffice? Certain language features will be unavailable, I think.

Artyom Shalkhakov

unread,
May 20, 2016, 4:01:39 AM5/20/16
to ats-lang-users
On Friday, May 20, 2016 at 1:55:37 PM UTC+6, Artyom Shalkhakov wrote:
On Friday, May 20, 2016 at 5:14:56 AM UTC+6, Raoul Duke wrote:

I'm sorry, it doesn't seem to be actively maintained. 

There is also a possibly newer fork, here:

https://github.com/hyc/lljvm

I don't know if it will help or not.

Took a look at both (is GitHub down?). davidar's fork seems like it was getting some work done on it lately.

gmhwxi

unread,
May 20, 2016, 7:11:58 AM5/20/16
to ats-lang-users

Raoul wants to have the entire ATS toolchain compiled into JVM.

If we just want to produce JVM from ATS source code, then the ATSCC
route should be adequate. We could target Java, Closure, etc.
Reply all
Reply to author
Forward
0 new messages