You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ats-lang-users
Hi, I know that the ATS compiler can decompile sum/product types and functions to unmangled C struct/union/functions but I was wondering if it's possible to also produce a header file with the struct/union declarations and function signatures. I'd like to distribute C code decompiled from ATS as a library without the client having to know it was written in ATS. For that I need header files as well. Thanks! -deech
gmhwxi
unread,
Jan 27, 2017, 4:22:49 PM1/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ats-lang-users
It sounds like something pretty straightforward to do.
If you could provide a manually constructed sample, I would be happy to take a look.
gmhwxi
unread,
Jan 27, 2017, 10:13:02 PM1/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
The C code can be readily compiled into an excutable (atscc2js) by a standard C compiler such as gcc and clang after the ats-positiats-include package is installed. There is no need to install ATS for doing the compilation.