[haXe] haxe completion

Michael Pliskin mike at comapping.com
Fri Jul 6 10:47:17 CEST 2007


Hello jpjimenez,

  I think you can capture the output of haxe.exe and parse it - there
  are OS functions usually to make a given program redirect its output
  into whatever you like.

  Another idea is to look into how haxefd does it - just get the
  sources..

j> Hi, I am a little new in this world of compilers and haxe, and I have a
j> doubt, I will appreciate any help. I am working in an simple IDE for
j> haxe, and one of the most important thing that I dont know is how to
j> capture all the messages that haxe output in my application, I mean:

j> For example, in my code in C++ I put

j> int main(int argc, char* argv[]){ 

j>         /*calling the haxe compiler*/
j>     
j>         system("haxe compilation.hxml");      

j>         return 1;  
j> }

j> compilation.hxml is the file that contain the command line for haxe.  

j> The question is :     

j> How can I get in my program all the messages that haxe output ?     

j>                         
j>         Thanks.




-- 
Best regards,
 Michael                            mailto:mike at comapping.com




More information about the Haxe mailing list