ShareSource Site »
Projects » mcc »
mccScreenshots
Summary
Files
Screenshots
Wiki
Bug Tracker
Mercurial Repository
Project: Marionette C compiler [Screenshots]
Summary
Files
Screenshots
Wiki
Bug Tracker
Mercurial Repository
Screenshots
| Screenshots! | |
|---|---|
|
|
Title: Hello World IIThis is the compiler being compiled (by gcc - no bootstrapping yet!), compiling and running Hello World II, a simple "Hello World" program. Since I haven't yet implemented linking with libraries, the code to print characters is encoded in a string, using Linux's int 0x80! Note the obscure function pointer syntax. I felt it was more logical (and thus easier) to use this syntax for function pointers. I'll implement the proper C syntax later.
[ Enlarge Image » ]
|