[OpenBIOS] Some thoughts on paflof.

Segher Boessenkool segher at chello.nl
Wed Jun 12 21:44:53 CEST 2002


> If there is no such description, i am interested to write it,
> just to be sure i have understood everything right. Does it
> make sense to contact Segher Boessenkool directly ?

Just mail the list :)


About the Paflof inner interpreter:

1) It's plain old simple indirect threading;
2) It uses gcc's computed-goto construct; i.e., goto &&label,
   or actually, goto *something, where *something = &&label;
3) The perl thingy just takes something that looks a lot like
   Forth, and (together with some C macros) transforms it into
   a C array that represents the initial dictionary.


The C code isn't as readable as possible, but that's due to

a) C doesn't allow to cast pointers to integers v.v. etc. without
   going through a union;
b) performance is king ;)


Any more questions?  Please ask :)


Segher

-
To unsubscribe: send mail to majordomo at freiburg.linux.de
with 'unsubscribe openbios' in the body of the message
http://www.freiburg.linux.de/OpenBIOS/ - free your system..



More information about the openbios mailing list