1 ;;;; -*- Mode: lisp -*-
3 ;;; System to convert the Fortran code to Lisp
5 ;;; You need to have at least f2cl1.l rev 1.222 to be able to convert
6 ;;; these files because previous versions of f2cl didn't handle
7 ;;; IMPLICIT DOUBLE PRECISION.
9 ;;; To convert the files, do this, from a running maxima:
11 ;;; :lisp (load "share/cobyla/cobyla-lisp.system")
12 ;;; :lisp (mk:oos "cobyla-lisp" :compile :force t)
14 ;;; This will convert the Fortran files and place them share/cobyla/lisp.
17 (in-package #:cl-user)
20 (defparameter *cobyla-root* (maxima::maxima-load-pathname-directory))
22 (mk:define-language :f2cl-lisp
26 :binary-extension "lisp")
28 (mk:defsystem cobyla-lisp
29 :source-pathname *cobyla-root*
33 :binary-pathname "lisp"
36 :compiler-options (:include-comments t
40 :depends-on ("cobylb"))
42 :depends-on ("trstlp" "calcfc"))
44 ;; This file isn't really needed, but it's useful to
45 ;; compile this up so that nice code is generated for