summaryrefslogtreecommitdiff
path: root/src/rva.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rva.lisp')
-rw-r--r--src/rva.lisp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/rva.lisp b/src/rva.lisp
new file mode 100644
index 0000000..83b0fe1
--- /dev/null
+++ b/src/rva.lisp
@@ -0,0 +1,19 @@
+(defpackage :rva
+ (:use :cl))
+
+(in-package :rva)
+
+(defparameter *version* "v0.1")
+
+(defun error-cli (message)
+ (format *error-output*
+ "~a~%Usage:
+ risc_vector file
+Options:
+ --version, -v: print version information~%"
+ message)
+ (sb-ext:exit :code 1))
+
+(defun main ()
+ (lex:stub)
+ (error-cli "foobar"))