src/: Export a package version from the ASDF system definition.
[sod] / src / package.lisp
index 75dc7fd..a6b9785 100644 (file)
 (cl:defpackage #:sod
   (:use #:common-lisp
        #:sod-utilities
-       #:optparse
        #:sod-parser))
 
+(cl:in-package #:sod)
+
+(export '*sod-version*)
+(defvar *sod-version* (asdf:component-version (asdf:find-system "sod"))
+  "The version of the SOD translator system, as a string.")
+
 ;;;----- That's all, folks --------------------------------------------------