changeset 698: | 96958d3eb5b0 |
parent: | d20482540d67 |
author: | Richard Westhaver <ellis@rwest.io> |
date: | Fri, 04 Oct 2024 22:04:59 -0400 |
permissions: | -rw-r--r-- |
description: | fixes |
127
960c010a23ce
replaced lalr parser with YACC, removed vcard and ical data formats (requires xpath), added org elements and objects
ellis <ellis@rwest.io>
parents:
diff
changeset
|
1 | ;;; lib/organ/element/paragraph.lisp --- Org Paragraph |
960c010a23ce
replaced lalr parser with YACC, removed vcard and ical data formats (requires xpath), added org elements and objects
ellis <ellis@rwest.io>
parents:
diff
changeset
|
2 | |
960c010a23ce
replaced lalr parser with YACC, removed vcard and ical data formats (requires xpath), added org elements and objects
ellis <ellis@rwest.io>
parents:
diff
changeset
|
3 | ;; |
960c010a23ce
replaced lalr parser with YACC, removed vcard and ical data formats (requires xpath), added org elements and objects
ellis <ellis@rwest.io>
parents:
diff
changeset
|
4 | |
960c010a23ce
replaced lalr parser with YACC, removed vcard and ical data formats (requires xpath), added org elements and objects
ellis <ellis@rwest.io>
parents:
diff
changeset
|
5 | ;;; Code: |
960c010a23ce
replaced lalr parser with YACC, removed vcard and ical data formats (requires xpath), added org elements and objects
ellis <ellis@rwest.io>
parents:
diff
changeset
|
6 | (in-package :organ) |
960c010a23ce
replaced lalr parser with YACC, removed vcard and ical data formats (requires xpath), added org elements and objects
ellis <ellis@rwest.io>
parents:
diff
changeset
|
7 | |
132 | 8 | (define-org-element paragraph |
9 | ((contents :initarg :contents :type vector :accessor org-contents)) |
|
10 | :lesser t) |
|
127
960c010a23ce
replaced lalr parser with YACC, removed vcard and ical data formats (requires xpath), added org elements and objects
ellis <ellis@rwest.io>
parents:
diff
changeset
|
11 | |
128 | 12 | (define-org-parser (paragraph :from string) |
132 | 13 | (let ((res (org-create :paragraph))) |
14 | (setf (org-contents res) input) |
|
15 | res)) |