summaryrefslogtreecommitdiff
path: root/src/main.lisp
blob: c22d869076a257a23b7f1e9559d1e683d468e8ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(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"))