repo.or.cz
/
polyglot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
preparing space for pascal code
[polyglot.git]
/
fibonacci.txt
blob
c846d2b25a3039aa6e825e83ab672db370da6a34
1
(*foo);
2
#include <stdio.h>
3
#include <stdlib.h>
4
5
#define $ /*
6
"*/
7
main () /*"; # */
8
{
9
int $ i;
10
int $ n1;
11
int $ n2;
12
int $ n3;
13
$ i = 0;
14
$ n1 = 1;
15
$ n2 = 1;
16
printf( "%d\n", $ n1 );
17
while ( $ i < 9 ) {
18
$ n3 = $ n1 + $ n2;
19
$ n1 = $ n2;
20
$ n2 = $ n3;
21
printf( "%d\n", $ n1 );
22
$ i++;
23
}
24
}
25
26
#define foo /*
27
__END__
28
*)
29
30
(* */
31
#define bar *)