Coverage report: /home/ellis/comp/core/lib/organ/pkg.lisp
Kind | Covered | All | % |
expression | 0 | 3 | 0.0 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; lib/organ/pkg.lisp --- Organ.
3
;; This package contains a parsing framework for Org Syntax. It
4
;; loosely follows the org-element.el conventions.
8
;; Similar to the OG, we divide Org Syntax into two classes: 'objects'
9
;; and 'elements'. The paragraph is a useful unit of measurement.
11
;; Elements are syntactic components that exist at the same or greater
12
;; scope than a paragraph.
14
;; Objects are syntactic components that exist with a smaller scope
15
;; than a paragraph. All objects can be contained within a paragraph.
17
;; Expanding further, 'Lesser' elements are those which cannot contain
18
;; any other elements. Paragraphs are a lesser element -- they can
19
;; contain any number of objects, but cannot contain other elements
20
;; themselves. 'Greater' elements can contain other elements - lesser
23
;; We have two high-level classes -- Headings and Sections. Sections contain
24
;; both lesser and greater elements, and headings contain an optional section
25
;; and any number of child headings.
27
;; Finally we have the Document class which contains a special 'zeroth'
28
;; section in the META slot and the full tree of headings in the TREE slot.
32
(:use :cl :cl-ppcre :std :parse/lex :sb-gray)
33
(:import-from :uiop :read-file-string)
36
:*org-todo-keyword-types*
45
:org-property-start-rx
55
:org-table-any-line-rx
56
:org-table-any-border-rx
58
:org-footnote-definition-rx
59
:*org-duration-hmm-rx*
60
:*org-duration-hmmss-rx*
61
:*org-duration-full-rx*
62
:*org-duration-mixed-rx*
64
:org-list-full-item-rx
115
:read-org-lines-from-string
117
:org-diary-sexp :org-footnote-reference :org-clock
118
:org-bold :org-drawer :org-table-cell :org-citation
119
:org-active-timestamp :org-descriptive-list
120
:org-export-snippet :org-citation-reference :org-target
121
:org-standard-table-row :org-lesser-block :org-strike-through
122
:org-affiliated-keyword :org-planning-line
123
:org-inline-source-block :org-footnote-definition
124
:org-unordered-list :org-ordered-list :org-code
125
:org-inactive-timestamp :org-keyword
126
:org-inactive-timestamp-range :org-stat-cookie :org-macro
127
:org-radio-target :org-table :org-table-el :org-italic
128
:org-link :org-underline :org-entity :org-rule-table-row
129
:org-verbatim :org-inline-babel-call :org-latex-environment
130
:org-priority :org-property-drawer :org-plain-text
131
:org-line-break :org-comment :org-greater-block
132
:org-horizontal-rule :org-planning
133
:org-active-timestamp-range))
135
(defpackage :organ/graph
136
(:use :cl :std :organ :graph :db :rdb :id :uuid :q :schema :graph :ast :time :b3)
137
(:export :init-org-graph :org-graph :org-id
138
:org-graph-schema :*org-graph-schema* :*org-graph-db-directory* :init-org-graph-db
139
:org-graph-db :*org-graph-file* :*org-id-locations-file* :*org-graph*
140
:org-graph-node :org-graph-edge :org-graph-extract-files :close-org-graph-db
141
:open-org-graph-db :og-get :org-graph-values :org-graph-files-scrape))
143
(defpackage :organ/cli
144
(:use :cl :std :organ :cli :clap)
145
(:export :*organ-cli*))