begin
prints ("Hello World!\n")
end
and the translation results in
![]()
created with the -w 36 switch: and this was generated by npiet-foogol v0.1:
See other examples:
| Program | Source | npiet-Program | Comments |
|---|---|---|---|
| a if-then-else example: |
begin
if 2 = 1
then printn (1)
else printn (0)
end
|
| please click the pic for comments |
| a while-loop example: |
begin
while 1 # 0 do begin
printn (1)
end
end
|
| please click the pic for comments |
| the original foogol prime-number generator example: | the example source, or see the postings about. |
|
it was compiled with the -w 16 switch.
see a scaled trace picture and a full size picture (size is 6624x2048 pixel) of the execution via npiet. the output of the program. |
| 99 bootles-of-beer in foogol: | please lookup the source here. |
|
see a scaled trace picture and a full size picture (size is
6848x2208 pixel) of the execution via npiet.
the output of the program. |
go back