diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-06-14 22:33:01 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-06-14 22:33:01 -0700 |
commit | 2f2126e0e8b67b63c08ad2d86e07f076233bb2bb (patch) | |
tree | c7531d86e77ecb57ed9814d4d5a1e693a6431351 /txr.1 | |
parent | 28c6225fec6ce999806e9c077f08ed0e668646c4 (diff) | |
download | txr-2f2126e0e8b67b63c08ad2d86e07f076233bb2bb.tar.gz txr-2f2126e0e8b67b63c08ad2d86e07f076233bb2bb.tar.bz2 txr-2f2126e0e8b67b63c08ad2d86e07f076233bb2bb.zip |
compile-file: translate --lisp option in hash bang.
* share/txr/stdlib/compiler.tl (usr:compile-file): Edit the
hash-bang line to replace the --lisp option with --compiled.
This supports the situation when a TXR Lisp hash bang script
that is unsuffixed is compiled to an unsuffixed compiled
script.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -65461,7 +65461,11 @@ circular structures are reproduced. When a source file begins with the .code #! ("hash-bang") character sequence, the file compiler propagates that -line to the compiled file, verbatim. +line (all characters up to and including the terminating newline) to the +compiled file, subject to the following transformation: occurrences of +.str --lisp +which are not followed by a dash are replaced with +.strn --compiled . \*(TX supports the hash bang mechanism in compiled .code .tlo |