Providing a compiler is relatively easy. You need to use
System.Diagnostics.Process
to span a process running a compiler. Main thing you need to do is to re-direct
stdout
and
stderr
streams to the streams created by your program. In this way you will be able to present errors and compiler output to your controls. See
Process.StandardError
,
Process.StandardOutput
.
Again, this is feasible. This is how I started Java development and even .NET development before I got Visual Studio.NET: created my own editor with redirection of compiler streams.
Please see more detail my new Answer to a similar Question, where I put more details based on my Answers on different questions:
invoking compiler from our application[
^].
—SA