Here's the Day-9 Stuff

Here's the content relating to my Day-9 programming language and the attendant compiler(s) and library code. Visit the main page for compiler-related links.

New in August 2003: Uploaded a reasonably complete manual for the Day-9 language. Doesn't cover the compiler, just the language. Find it here.



Overview
Compiler | Libraries
Zip Picker
Changelog



OVERVIEW

The Day-9 Compiler is something I've been working on off and on for almost two (three? I don't know anymore) years now; I estimate about three solid months of actual work went into the creation of the original compiler, and several more into the various updates since then. (Its name refers to its position in a nine-day "tutorial" I started work on in summer 2001; day 1 was Turing machines, day 3 was complex RPN interpreters, and day 9 was a bootstrapped compiler system.)

Find a reference for the language here.

The compiler system itself consists of several parts, developed pretty much in tandem:

Covering each part of the system in turn:




THE COMPILER

Here is where you can download the compiler system itself. To make updating this site easier, I've put everything up in pieces. For instance, there's an ASM90 zip, a NEWSRC zip, and a NEWLIB zip, all of which need to be downloaded to compile the compiler itself. (And you may want CSRC or PREP, too.) To compile the C sources, I use Turbo C 2.0; I believe DJGPP should work for most of them, though.

Here are the distributions, which list what they assume you have:




THE LIBRARIES

You can also view the online code to the Day-9 libraries. Unfortunately, Geocities is stupid, so you'll just have to pretend that the files have extensions .D9 and .INC, respectively.




ZIP PICKER

So you want to start using Day-9, but you don't know how to start? Here's what you need to download in order to...

If you are a relatively experienced assembly programmer and want some interesting work, why not send me some more library code? Even better, I'd like to see what other people can do with "Day-9" itself. Perhaps someone could extend the language in new directions, add floating-point support (while preserving the typelessness of the language -- that's a challenge!), or something else entirely. [I'd like to see user-defined structures (a la C's structs) added to the language, but at the moment I don't see how they'd fit in.] Have fun, whatever you do.




Back to the main page

Back to Top

This page last updated
22 Aug 2003


All code and documentation related to the Day-9
Compiler Project is freely redistributable.

Information Longs to be Free.
If you can read this, tell me how to get rid of it.<--<!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/geov2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.geocities.yahoo.com/visit.gif?us1239760529" alt="setstats" border="0" width="1" height="1"></noscript> <IMG SRC="http://geo.yahoo.com/serv?s=76001067&t=1239760529&f=us-w6" ALT=1 WIDTH=1 HEIGHT=1>