Changeset 27150 in project


Ignore:
Timestamp:
08/01/12 13:36:43 (9 years ago)
Author:
felix winkelmann
Message:

updated autocompile page for 1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/autocompile

    r23946 r27150  
    5151This extension needs the {{md5sum(1)}} program (or {{md5(1)}} on Mac OS X).
    5252
     53You can add additional command-line options by preceding the code
     54with special comments, like this:
     55
     56  #!/usr/bin/env chicken-scheme
     57  ;;; AUTOCOMPILE: -X my-reader-extension -O5
     58  ...
     59
     60{{chicken-scheme}} will detect "AUTOCOMPILE" specifications beginning in
     61the second source line of the file, up to the first line that does not
     62contain such a specification. Specifically, lines matching the following
     63regular expression will be detected:
     64
     65  ^ *;[ ;]*AUTOCOMPILE:
     66
    5367
    5468=== Environment variables
     
    90104=== License
    91105
    92  Copyright (c) 2009-2011, Felix L. Winkelmann
     106 Copyright (c) 2009-2012, Felix L. Winkelmann
    93107 
    94108 All rights reserved.
     
    122136=== Version history
    123137
     138; 1.0 : added detection of "AUTOCOMPILE:" comment lines in file header
    124139; 0.9 : fixed NetBSD-specific option to {{md5}} [thanks to Peter Bex]
    125140; 0.7 : added regex dependency
Note: See TracChangeset for help on using the changeset viewer.