Dear all,
I just create a toy translator C to ATS.
http://metasepi.org/en/posts/2019-07-19-toy-translator-c-to-ats.html
Today, it only translates a simple for and while loop in C language
into a recursive function in ATS language,
In future, it may support more complex features such as:
* Support break, continue, and goto. (Should use some kind of CFG?)
* Support pointers using at-view.
* Support C headers using .sats files.
* Use val instead of var.
* Simplify ATS code. Example: reduce multiple let.
* Support ATS3.
Best regards,
--
Kiwamu Okabe at METASEPI DESIGN