|Writing a compiler email@example.com (andresj) (2008-10-20)|
|Re: Writing a compiler DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-10-23)|
|Re: Writing a compiler firstname.lastname@example.org (Aleksey Demakov) (2008-10-23)|
|Re: Writing a compiler email@example.com (2008-10-23)|
|Re: Writing a compiler Juergen.Kahrs@vr-web.de (=?ISO-8859-1?Q?J=FCrgen_Kahrs?=) (2008-10-23)|
|Re: Writing a compiler firstname.lastname@example.org (Manuel Collado) (2008-10-24)|
|Re: Writing a compiler Ibeam2000@gmail.com (Nick) (2008-10-26)|
|Re: Writing a compiler email@example.com (RR) (2008-10-26)|
|Re: Writing a compiler firstname.lastname@example.org (andresj) (2008-10-29)|
|Re: Writing a compiler email@example.com (kamal) (2008-10-29)|
|Re: Writing a compiler firstname.lastname@example.org (Tony) (2008-10-31)|
|Re: Writing a compiler email@example.com (Louis Krupp) (2008-11-01)|
|Re: Writing a compiler firstname.lastname@example.org (Marco van de Voort) (2008-11-02)|
|Re: Writing a compiler email@example.com (Chris Dollin) (2008-11-03)|
|[7 later articles]|
|Date:||Sun, 26 Oct 2008 23:23:23 +0800|
|Posted-Date:||28 Oct 2008 11:55:09 EDT|
On Tue, Oct 21, 2008 at 7:20 AM, andresj <firstname.lastname@example.org> wrote:
> Hello, I am designing a programming language that will run natively.
> That is to say, it will run like C, without a need of an interpreter
> nor a standard library (well, there will be, but I want to be able to
> write an operating system, too.)
> The language parsing (converting a=b into <assignment><variable
> name="a"/><variable name="b"/></assignment>---which is not necessarily
> correct, anyways) I will skip for now; I will write directly in XML
> and use a XML parser to get a tree of my program.
> * I need help in finding an appropiate way of structuring my XML. Any
I think you are saying something like http://www.gccxml.org/ ??
> The next part is where I need more help in: how to convert this tree
> into assembly language.
> * Is there any documentation on this part of writing a compiler?
> This compiler will not need to be fast (might be written in Python or
> Ruby or Java---although I don't like Java that much---, instead of C
> or C++, which is counterintuitive for me); I will write a new compiler
> in the language I am creating (kind of what was done for C.)
> Thanks for your help. :)
> * Any other articles/ideas on writing compilers or designing
> programming languages are welcome. :)
Return to the
Search the comp.compilers archives again.