-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparser.common-rules.asd
57 lines (43 loc) · 2.25 KB
/
parser.common-rules.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
;;;; parser.common-rules.asd --- System definition for the parser.common-rules system.
;;;;
;;;; Copyright (C) 2012-2018 Jan Moringen
;;;;
;;;; Author: Jan Moringen <[email protected]>
(defsystem "parser.common-rules"
:description "Provides common parsing rules that are useful in many grammars."
:license "MIT" ; see COPYING file for details.
:author "Jan Moringen <[email protected]>"
:maintainer "Jan Moringen <[email protected]>"
:version (:read-file-form "version-string.sexp")
:depends-on ("alexandria"
"split-sequence" ; for rules-comments.lisp
(:version "let-plus" "0.2")
(:version "esrap" "0.16"))
:components ((:module "src"
:serial t
:components ((:file "package")
(:file "rules-anchors")
(:file "rules-whitespace")
(:file "rules-comments")
(:file "rules-literals")
(:file "macros-tokenization"))))
:in-order-to ((test-op (test-op "parser.common-rules/test"))))
(defsystem "parser.common-rules/test"
:description "Tests for the parser.common-rules system."
:license "MIT" ; see COPYING file for details.
:author "Jan Moringen <[email protected]>"
:maintainer "Jan Moringen <[email protected]>"
:version (:read-file-form "version-string.sexp")
:depends-on ("alexandria"
(:version "let-plus" "0.2")
(:version "fiveam" "1.4")
(:version "parser.common-rules" (:read-file-form "version-string.sexp")))
:components ((:module "test"
:serial t
:components ((:file "package")
(:file "rules-anchors")
(:file "rules-comments")
(:file "rules-literals")
(:file "macros-tokenization"))))
:perform (test-op (operation component)
(uiop:symbol-call '#:parser.common-rules.test '#:run-tests)))