Re: D compiler embedding

2009-05-04 Thread Jason House
Robert Fraser Wrote: > Peloto wrote: > > And other doubt... where's the Solaris port for the D compiler? I see only > > Windows, linux, freeBSD and MacOSX. > > http://www.dsource.org/projects/ldc > The Phobos changelog implies the next D1 release will have Dolaris support. D2 support is on ho

Re: D compiler embedding

2009-05-03 Thread Robert Fraser
Peloto wrote: And other doubt... where's the Solaris port for the D compiler? I see only Windows, linux, freeBSD and MacOSX. http://www.dsource.org/projects/ldc

Re: D compiler embedding

2009-05-03 Thread Simen Kjaeraas
Peloto wrote: Can I embed the D compiler into my application? For example: Dcompiler c; Dcompiler::result *r = c.compile("mySource.d"); fstream f("result.bin"); f.write(r->GetBuffer(),r->GetNBytes()); Short answer: No. Long answer: Several people have been asking for this, and there has been

D compiler embedding

2009-05-03 Thread Peloto
Can I embed the D compiler into my application? For example: Dcompiler c; Dcompiler::result *r = c.compile("mySource.d"); fstream f("result.bin"); f.write(r->GetBuffer(),r->GetNBytes()); And other doubt... where's the Solaris port for the D compiler? I see only Windows, linux, freeBSD and MacOSX