W'sap homeys! Well it's official! I spend wa-a-a-ay too much time in #flipcode. Other than that, I've had a rather productive past two weeks: I made a friend, *gasp*; I started coding my compiler; I've also come to the realization that BMP files are evil. Still, I have yet to receive my A+ Certificate and matching badge ;o) Update on my compiler I seem to have misplaced my laser-pointer. Oh wait, right, the compiler. Yes, well, I spent most of the weekend getting the thing to load instruction definition files from disk. As I might have said earlier, the compiler is designed to use scripts for specific code platforms and output formats. E.g. if I wanted to compile a piece of Intel assembly, I would specify "i386.idf". The instruction definition file simply contains semi-compiled assembly.
Well, most of my day was spent on getting these instruction definition files to load properly. I suspect that I'll be spending the next week on commenting/debugging etc. What concerns me though is where I'm going to get .idf files to plug into my trusty new creation. Hopefully some good Samaritans will offer to do a few... A-a-a-anyway, I'll probably post a link/upload to my compiler in my next tech-file. HTML in HTML I saw this a while ago, and I didn't quite know how to do it. One can embed an HTML file inside another web page as an element of that page, just like an image or a table. This eliminates the need for those cumbersome frames everyone hates - although this can be equally evil in the wrong hands. This is ideal for situations where you want to embed C++ or other code in a tutorial. All too often I find myself struggling with copy-paste in situations where IE has decided to remove all the CR/LF characters from a code block. Don't laugh. Here's the code: <IFRAME NORESIZE="NORESIZE" FRAMEBORDER="0" WIDTH="100" HEIGHT="300" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="yes" SRC="hot_sexy_textfile.txt">As you may have guessed, Netscape chokes on this, as is the case with most other M$ inventions. Conclusion Well, that's about it for this tech-file. I hope it wasn't too short (or long :o). Mm... It seems that I have forgotten to mention why BMP files are evil. Oh well... L8r, ßetelgeuse "We should take care not to make the intellect our god; it has, of course, powerful muscles, but no personality." Albert Einstein (1879-1955)
|