Changes between Version 3 and Version 4 of WikiStart

Show
Ignore:
Timestamp:
06/11/11 12:44:05 (3 years ago)
Author:
rtoy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v3 v4  
    99repository: 
    1010 
    11 hg clone http://common-lisp.net/project/f2cl/hg/f2cl 
     11{{{hg clone http://common-lisp.net/project/f2cl/hg/f2cl}}} 
    1212 
    1313For developers with ssh access, you can use 
    1414 
    15 hg clone ssh://user@common-lisp.net//project/f2cl/public_html/hg/f2cl 
     15{{{hg clone ssh://user@common-lisp.net//project/f2cl/public_html/hg/f2cl}}} 
    1616 
    1717Substitute your user name for "user", of course.  Also, note the two 
    1818slashes before project.  These are important. 
     19 
     20== Quick Start to Using F2CL == 
     21 
     22First, you need to load f2cl.  This can be done simply with 
     23 
     24{{{(asdf:oos 'asdf:load-op :f2cl)}}} 
     25 
     26assuming that {{{asdf}}} can find {{{f2cl.asd}}}. 
     27 
     28Once F2CL is loaded, you can convert a Fortran file to Lisp using 
     29 
     30{{{(f2cl:f2cl "src.f")}}} 
     31 
     32This will convert the Fortran code in {{{src.f}}} and place the 
     33translation in {{{src.lisp}}}. 
     34 
     35Or you can convert and compile the result using 
     36 
     37{{{(f2cl:f2cl-compile "src.f")}}} 
     38 
     39This does the conversion and then calls {{{COMPILE-FILE}}} to compile 
     40the resulting Lisp code. 
     41 
     42== Examples == 
     43 
     44F2CL comes with many examples of converting Fortran code to Lisp. 
     45Look in the {{{packages}}} directory for the examples.  These packages 
     46are not officially a part of F2CL.  They are packages used to test 
     47F2CL.  However, the packages are useful in themselves. 
    1948 
    2049== Starting Points ==