Changes between Version 9 and Version 10 of WikiStart


Ignore:
Timestamp:
05/08/12 05:32:55 (6 years ago)
Author:
rtoy
Comment:

Move info to GettingF2cl

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v9 v10  
    1010 * [wiki:ExamplesPackages Examples]
    1111
    12 == Getting F2CL ==
    13 
    14 === Via Quicklisp ===
    15 The easiest way to get F2CL is to use
    16 [http://www.Quicklisp.org Quicklisp].  You can just say
    17 
    18 {{{
    19 (ql:quickload :f2cl)
    20 }}}
    21 
    22 to get f2cl.
    23 
    24 === Via Mercurial (hg) ===
    25 
    26 The second easiest way to get F2CL is to clone the hg (Mercurial)
    27 repository:
    28 
    29 
    30 {{{
    31   hg clone http://common-lisp.net/project/f2cl/hg/f2cl
    32 }}}
    33 
    34 For developers with ssh access, you can use
    35 
    36 {{{
    37   hg clone ssh://user@common-lisp.net//project/f2cl/public_html/hg/f2cl
    38 }}}
    39 
    40 Substitute your user name for "user", of course.  Also, note the two
    41 slashes before project.  These are important.
    42 
    43 Note that when f2cl converts a Fortran file to Lisp, it includes
    44 information about the version of f2cl used to do the conversion.  For
    45 this to work you will need to set up Mercurial to use the keyword
    46 extension.  Add the following to your {{{.hgrc}}} file:
    47 
    48 {{{
    49 [extensions]
    50 # Enable the Mercurial keyword extension for RCS keywords.
    51 keyword =
    52 
    53 # Filename patterns for CVS keyword expansion are configured in this
    54 # section
    55 [keyword]
    56 # Expand keywords in all .l files.  Basically for f2cl sources.
    57 src/*.l =
    58 }}}
    59 
    60 Now when you clone f2cl, you should something like this in
    61 {{{src/f2cl1.l}}}:
    62 
    63 {{{
    64 (defparameter *f2cl1-version*
    65   "$Id: f2cl1.l,v f0f149e72999 2010/10/08 03:05:30 rtoy $")
    66 }}}
    6712
    6813== Quick Start to Using F2CL ==