Empty program: Difference between revisions

Content added Content deleted
(Added Crystal)
Line 1,166: Line 1,166:
=={{header|PHP}}==
=={{header|PHP}}==
An empty text file is a correct PHP program that does nothing.
An empty text file is a correct PHP program that does nothing.

=={{header|Picat}}==
By default, Picat calls the <code>main/0</code> predicate:
<lang Picat>main.</lang>

{{out}}
<pre>$ picat empty_program.pi

</pre>

An shorter way is this program
<lang Picat>x.</lang>
but then an explicit goal at command line (<code>-g x</code>) must be given.

{{out}}
<pre>$ picat -g x empty_program2.pi

</pre>


=={{header|PicoLisp}}==
=={{header|PicoLisp}}==