Native shebang: Difference between revisions

Added program to Forth
(Added Forth)
(Added program to Forth)
Line 436:
<lang>: #! [COMPILE] \ ; immediate</lang>
Some Forth compilers - like 4tH or Gforth - support this functionality out of the box.
This example program works as advertised:
<lang>#! /usr/local/bin/4th cxq
argn 1 ?do i args type space loop cr
</lang>
 
=={{header|Free Pascal}}==
Since FPC (FreePascal compiler) version 2.6.0 the distribution – e.g. the Debian or FreeBSD packages <tt>fpc-utils</tt> – come with the program <tt>instantfpc(1)</tt>, or <tt>ifpc(1)</tt> for short.
374

edits