How about adding short and ushort primitive type into ATS prelude?

43 views
Skip to first unread message

Kiwamu Okabe

unread,
Aug 20, 2016, 8:41:40 AM8/20/16
to ats-lang-users
Hi Hongwei,

How about adding short and ushort primitive types into ATS prelude?
I find needing the primitive types, while seeking C header files in
/usr/include.

Best regards,
--
Kiwamu Okabe at METASEPI DESIGN

gmhwxi

unread,
Aug 20, 2016, 11:58:09 AM8/20/16
to ats-lang-users, kiw...@debian.or.jp

They are already available:

short is sint in ATS.
ushort is usint in ATS.

Kiwamu Okabe

unread,
Aug 20, 2016, 6:36:31 PM8/20/16
to ats-lang-users
Hi Hongwei,

On Sun, Aug 21, 2016 at 12:58 AM, gmhwxi <gmh...@gmail.com> wrote:
> short is sint in ATS.
> ushort is usint in ATS.

I can't find it, because reading following:

http://ats-lang.sourceforge.net/DOCUMENT/INT2PROGINATS/HTML/x240.html

I support it:

https://github.com/metasepi/c2ats/commit/a10491682dff3e24c3003ffa5ccda75f3d072349

Thanks a lot,

gmhwxi

unread,
Aug 21, 2016, 9:25:23 PM8/21/16
to ats-lang-users, kiw...@debian.or.jp
Okay, I have now mentioned sint and usint in:

http://ats-lang.sourceforge.net/DOCUMENT/INT2PROGINATS/HTML/x240.htm

On Saturday, August 20, 2016 at 6:36:31 PM UTC-4, Kiwamu Okabe wrote:
Hi Hongwei,

Kiwamu Okabe

unread,
Aug 21, 2016, 11:55:28 PM8/21/16
to ats-lang-users
On Mon, Aug 22, 2016 at 10:25 AM, gmhwxi <gmh...@gmail.com> wrote:
> Okay, I have now mentioned sint and usint in:

Thanks a lot!
Reply all
Reply to author
Forward
0 new messages