Re: ATS can't use keyword as record member?

2016-09-16 Thread Kiwamu Okabe
On Sat, Sep 17, 2016 at 12:24 PM, gmhwxi  wrote:
> This could be fixed.

Thanks a lot.

> For the moment, you may want to use _keyword_ for keyword.
>
> Then add
>
> #define _keyword_ keyword

O.K.
I should choose waiting you or implementing such escape.

Best regards,
-- 
Kiwamu Okabe at METASEPI DESIGN

-- 
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+unsubscr...@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/CAEvX6d%3D0d%2BAMtGYQF%3D%3DvFOe%2BqeF5eerK3QRquMRz2d3BQa3ZQw%40mail.gmail.com.


Re: ATS can't use keyword as record member?

2016-09-16 Thread gmhwxi
This could be fixed.

For the moment, you may want to use _keyword_ for keyword.

Then add

#define _keyword_ keyword

On Friday, September 16, 2016 at 6:43:10 AM UTC-4, Kiwamu Okabe wrote:
>
> Hi all, 
>
> ATS can't use keyword as record member? 
>
> https://gist.github.com/master-q/f9ee268facda11b9cac88483c4779432 
>
> I find ATS can't use following name in $extype_struct: 
>
> * "prefix" 
> * "begin" 
> * "end" 
> * "in" 
>
> I believe they are keyword in ATS. However, disable to use them is so 
> limiting for real programming... 
>
> Best regards, 
> -- 
> Kiwamu Okabe at METASEPI DESIGN 
>

-- 
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+unsubscr...@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/17f7b117-e1d6-4adb-bdfe-eabd97e633f2%40googlegroups.com.


ATS can't use keyword as record member?

2016-09-16 Thread Kiwamu Okabe
Hi all,

ATS can't use keyword as record member?

https://gist.github.com/master-q/f9ee268facda11b9cac88483c4779432

I find ATS can't use following name in $extype_struct:

* "prefix"
* "begin"
* "end"
* "in"

I believe they are keyword in ATS. However, disable to use them is so
limiting for real programming...

Best regards,
-- 
Kiwamu Okabe at METASEPI DESIGN

-- 
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+unsubscr...@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/CAEvX6dneaHm3UP_8qMs9GkiAi%2BkqAKfroYwn%3DaNvWjGGZSLePQ%40mail.gmail.com.