On 06.10.2006, at 09:01, Yves Jaradin wrote:
Good luck integrating the compiler and debugger. They are written in Oz but the code is quite hard to understand.
It is very easy to have a full Oz compiler running as a server in the background, and feeding it code + returning results etc. via a socket (I could share some code doing that).
For an integration in an IDE, it is perhaps suitable to transform the compiler's error messages (see http://www.mozart-oz.org/documentation/system/node76.html and http://www.mozart-oz.org/documentation/system/node77.html) into something which you can return back to VS to exploit its information there (e.g. to show on which line the error happened etc). Then, you do not need to touch the compiler code itself...
Pay also attention to the fact that the Oz compiler targets the Mozart Virtual Machine meaning that linking code written in Oz with code in any other language requires a *lot* of work.
Perhaps it is more easy to interface via Oz' C or C++ interface (http://www.mozart-oz.org/documentation/foreign/index.html).
Best, Torsten -- Torsten Anders Sonic Arts Research Centre • Queen's University Belfast Frankstr. 49 • D-50996 Köln Tel: +49-221-3980750 http://www.torsten-anders.de http://strasheela.sourceforge.net _________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
