Multiline shebang: Difference between revisions
Content deleted Content added
Added Factor |
PARI and gp2c |
||
Line 39: | Line 39: | ||
<lang factor>#! /usr/bin/env factor -script</lang> |
<lang factor>#! /usr/bin/env factor -script</lang> |
||
=={{header|PARI/GP}}== |
|||
The PARI equivalent to a multiline shebang is a collection of <code>GP;</code> lines: |
|||
<lang C>/* |
|||
GP;install("C_function_name","G","GP_name","./filename.gp.so"); |
|||
GP;addhelp(GP_name, "GP_name(n): Computes the foo of bar(n)."); |
|||
*/</lang> |
|||
These commands are passed to GP when invoked by gp2c. |
|||
=={{header|Perl}}== |
=={{header|Perl}}== |