We can implement Forth backend for ATS2?

49 views
Skip to first unread message

Kiwamu Okabe

unread,
Oct 7, 2016, 7:56:28 AM10/7/16
to ats-lang-users
Hi all,

Please see following:

J1a SwapForth built with IceStorm
http://www.excamera.com/sphinx/article-j1a-swapforth.html

It's a tiny Forth machine that can directly run Forth binary on HDL
hardware.Amazing!
Of course, we should think that create Forth backend for ATS2 to run
ATS2 application on the Forth machine.

We can implement it in principle?

Best regards,
--
Kiwamu Okabe at METASEPI DESIGN

Hongwei Xi

unread,
Oct 7, 2016, 11:50:05 AM10/7/16
to ats-lan...@googlegroups.com
In principle, it can certainly be done. For the moment, you probably
want to check out whether there are already compilers from languages like
C and/or Scheme to Forth.

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to ats-lang-users@googlegroups.com.
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/CAEvX6dk-yobnDL_-XU67N3OHznS7FQ_7sUW1vMPuuCnWGG00Gg%40mail.gmail.com.

Kiwamu Okabe

unread,
Oct 7, 2016, 5:23:33 PM10/7/16
to ats-lang-users
On Sat, Oct 8, 2016 at 12:50 AM, Hongwei Xi <gmh...@gmail.com> wrote:
> In principle, it can certainly be done. For the moment, you probably
> want to check out whether there are already compilers from languages like
> C and/or Scheme to Forth.

Amazing! I have one more question. That method can shape large
application such like the ATS compiler?

Hongwei Xi

unread,
Oct 11, 2016, 1:51:55 PM10/11/16
to ats-lan...@googlegroups.com
>>Amazing! I have one more question. That method can shape large
application such like the ATS compiler?

It is certainly possible.

This is somewhat like using Emscripten to compile patsopt to JavaScript.


--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to ats-lang-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ats-lang-users.

Kiwamu Okabe

unread,
Oct 11, 2016, 5:25:49 PM10/11/16
to ats-lang-users
On Wed, Oct 12, 2016 at 2:51 AM, Hongwei Xi <gmh...@gmail.com> wrote:
> application such like the ATS compiler?
>
> It is certainly possible.
>
> This is somewhat like using Emscripten to compile patsopt to JavaScript.

Good news for me. I should learn the "patsopt to JavaScript" after
building c2ats product.

Thanks for your advice,
Reply all
Reply to author
Forward
0 new messages