17 | | ~~{{{~~ |

18 | | ~~ (asdf:oos 'asdf:load-op :f2cl)~~ |

19 | | ~~}}}~~ |

20 | | |

21 | | ~~assuming that {{{asdf}}} can find {{{f2cl.asd}}}.~~ |

22 | | |

23 | | ~~Once F2CL is loaded, you can convert a Fortran file to Lisp using~~ |

24 | | |

25 | | ~~{{{~~ |

26 | | ~~ (f2cl:f2cl "src.f")~~ |

27 | | ~~}}}~~ |

28 | | |

29 | | ~~This will convert the Fortran code in {{{src.f}}} and place the~~ |

30 | | ~~translation in {{{src.lisp}}}.~~ |

31 | | |

32 | | ~~Or you can convert and compile the result using~~ |

33 | | |

34 | | ~~{{{~~ |

35 | | ~~ (f2cl:f2cl-compile "src.f")~~ |

36 | | ~~}}}~~ |

37 | | |

38 | | ~~This does the conversion and then calls {{{COMPILE-FILE}}} to compile~~ |

39 | | ~~the resulting Lisp code.~~ |

40 | | |

41 | | ~~== Examples ==~~ |

42 | | |

43 | | ~~F2CL comes with many examples of converting Fortran code to Lisp.~~ |

44 | | ~~Look in the {{{packages}}} directory for the examples. Included~~ |

45 | | ~~packages are:~~ |

46 | | |

47 | | ~~ * [http://www.netlib.org/ode/colnew.f colnew] - Boundary-value problems for ODEs~~ |

48 | | ~~ * [http://www.cisl.ucar.edu/css/software/fishpack/ fishpack] - Solve~~ |

49 | | ~~ separable elliptic PDEs~~ |

50 | | ~~ * [http://www.netlib.org/hompack/ hompack] - Solves non-linear~~ |

51 | | ~~ systems of equations by homotopy methods.~~ |

52 | | ~~ * [http://www.netlib.org/minpack/ minpack] - Solves non-linear~~ |

53 | | ~~ equations and non-linear least squares problems~~ |

54 | | ~~ * [http://www.netlib.org/odepack/ odepack] - Initial value problem~~ |

55 | | ~~ for ODEs~~ |

56 | | ~~ * [http://www.netlib.org/quadpack/ quadpack] - Numerical integration~~ |

57 | | ~~ * [http://www.netlib.org/toms/419 TOMS 419] - Zeroes of a complex polynomial~~ |

58 | | ~~ * [http://www.netlib.org/toms/715 TOMS 715] - Numerical evaluation of~~ |

59 | | ~~ Special functions~~ |

60 | | ~~ * [http://www.netlib.org/toms/717 TOMS 717] - Max- and~~ |

61 | | ~~ quasi-likelihood estimation in non-linear regression~~ |

62 | | |

63 | | ~~These packages are not officially a part of F2CL. They are packages~~ |

64 | | ~~used to test F2CL.~~ |