Empty program: Difference between revisions
Content deleted Content added
No edit summary |
Added Fish |
||
Line 242: | Line 242: | ||
} |
} |
||
</lang> |
</lang> |
||
=={{header|Fish}}== |
|||
Actually the shortest valid program is a space (not empty file!), which is an infinite loop, though. (It keeps looping around) |
|||
<lang Fish> </lang> |
|||
An empty program is invalid; the interpreter will give an error.<br/> |
|||
The shortest program that will actually finish is a <tt>;</tt>, which will end the program immediately: |
|||
<lang Fish>;</lang> |
|||
=={{header|Forth}}== |
=={{header|Forth}}== |