Wednesday, January 26, 2011

self-hosting dilemma

I have nearly the whole compiler rewritten in itself.  I've saved one of the nastiest bits for last, the inliner.  I've been planning on a new design for the inliner - rather than just copying the Python code.  So of course, what happens in this late stage?  A bug in the inliner!

The program types correctly if inlining is turned off, but fails if it's turned on.  This is a great example of the gains to be had by typing both before and after phases of the compiler - but unfortunately in this case it means I have to fix a bug in some code that I intend to throw away as soon as it works!

Theoretically I could just turn off inlining until I'm done, and then write the new inliner in the self-hosted environment - but I can't be absolutely sure that it's not a more complex interaction between the typer and the inliner.

1 comment:

  1. There are not any specific betting strategies and techniques, because the cards are drawn at random. You can only rely on your inner feeling and instinct for the path of the profit. First, you receive two cards face up, while the supplier distributes just one for himself. His second is face down, which seems to be a turning level on the participant's next move. You want suppose about|to contemplate} the attainable outcomes and, primarily based on the evaluation, select a suitable resolution for the state of affairs . We have explained the principles 온라인카지노 of blackjack in a separate evaluate in more detail, contemplating the collaborating cards and their value.

    ReplyDelete