documentclass{article} usepackage{axiom} begin{document} @ section{Hello world}

Today I awakened and decided to write some code, so I started to write a Hello World in textsf C.

<<hello.c>>= /*

<<license>>

*/ #include <stdio.h>

int main(int argc, char *argv[]) {
printf("Hello World!n"); return 0;

}

noindent ldots then I did the same in PHP.

<<hello.php>>= <?php

/* <<license>> */ echo "Hello world!n";

?> @ section{License} Later, same day some lawyer reminded me about licenses. So, here it is:

<<license>>= This work is placed in the public domain. @

<<*>>= hello.c: --------

<<hello.c>>

hello.php:

<<hello.php>>

and the license:

<<license>>

end{document}

test --simon, Sun, 13 Aug 2006 00:00:36 -0700 reply

a comment

beautiful --Bill Page, Sun, 13 Aug 2006 17:58:51 -0700 reply

Thanks Simon!