Empty program: Difference between revisions

Added Fish
No edit summary
(Added Fish)
Line 242:
}
</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}}==
Anonymous user