The MASM Forum Archive 2004 to 2012

Specialised Projects => Assembler/Compiler Technology => Topic started by: anunitu on September 16, 2010, 02:39:29 PM

Title: Writing Your Own Toy Compiler
Post by: anunitu on September 16, 2010, 02:39:29 PM
Just ran into this while searching. I myself have never tried making a compiler,but I may try and follow this tutor.

http://gnuu.org/2009/09/18/writing-your-own-toy-compiler/

Not sure if this only pertains to linux, or if it could be used in a Windows environment.

Looks like it might work using Mingw to work in Windows...
Title: Re: Writing Your Own Toy Compiler
Post by: Twister on September 19, 2010, 05:06:17 AM
Hm. Great article. Thank you for sharing. This can also be used for other things. :bdg

This helps get an idea of how a compiler works. Using tokens and parsing and generating code. Very nice indeed.