X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/9ec578d9fe450b7e7f9030dc9d930185593aa991..664b395170172c9541bb1ea1b87780a8d200fc19:/src/frontend.lisp diff --git a/src/frontend.lisp b/src/frontend.lisp index 5430285..d394eee 100644 --- a/src/frontend.lisp +++ b/src/frontend.lisp @@ -23,7 +23,11 @@ ;;; along with SOD; if not, write to the Free Software Foundation, ;;; Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -(cl:in-package #:sod) +(cl:defpackage #:sod-frontend + (:use #:common-lisp #:optparse #:sod #:sod-parser) + (:shadowing-import-from #:optparse "INT")) + +(cl:in-package #:sod-frontend) ;;;-------------------------------------------------------------------------- ;;; The main program. @@ -76,12 +80,12 @@ ;; Option definitions. (define-program - :help "Probably ought to write this." - :version "0.1.0" + :help "Process SOD input files to produce (e.g.) C output." + :version *sod-version* :usage "SOURCES..." :options (options (help-options :short-version #\V) - "Crazy options" + "Translator options" (#\I "include" (:arg "DIR") ("Search DIR for module imports.") (list *module-dirs* 'string))