cl-markless

API Reference

cl-markless

A parser implementation for Markless

CL-MARKLESS-COMPONENTS

  • Class SIZED
    UNIT   Accessor: UNIT
    SIZE   Accessor: SIZE
  • Class COMPONENT
    No slots.
  • Class UNIT-COMPONENT  (COMPONENT)
    No slots.
  • Class TEXT-COMPONENT  (COMPONENT)
    TEXT   Accessor: TEXT
  • Class PARENT-COMPONENT  (COMPONENT)
    CHILDREN   Accessor: CHILDREN
  • Method TEXT ((component parent-component))
  • Class BLOCK-COMPONENT  (COMPONENT)
    No slots.
  • Class INLINE-COMPONENT  (COMPONENT)
    No slots.
  • Class ROOT-COMPONENT  (PARENT-COMPONENT)
    LABELS   Accessor: LABELS
    AUTHOR   Accessor: AUTHOR
    COPYRIGHT   Accessor: COPYRIGHT
    LANGUAGE   Accessor: LANGUAGE
  • Method LABEL ((label string) (root root-component))
  • Method (setf LABEL) ((value component) (label string) (root root-component))
  • Method (setf LABEL) ((value null) (label string) (root root-component))
  • Class PARAGRAPH  (PARENT-COMPONENT, BLOCK-COMPONENT)
    INDENTATION   Accessor: INDENTATION
  • Class BLOCKQUOTE-HEADER  (PARENT-COMPONENT, BLOCK-COMPONENT)
    No slots.
  • Class BLOCKQUOTE  (PARENT-COMPONENT, BLOCK-COMPONENT)
    SOURCE   Accessor: SOURCE
  • Class LIST  (PARENT-COMPONENT)
    No slots.
  • Class LIST-ITEM  (PARENT-COMPONENT)
    No slots.
  • Class ORDERED-LIST  (LIST, BLOCK-COMPONENT)
    No slots.
  • Class ORDERED-LIST-ITEM  (LIST-ITEM, BLOCK-COMPONENT)
    NUMBER   Accessor: NUMBER
  • Class UNORDERED-LIST  (LIST, BLOCK-COMPONENT)
    No slots.
  • Class UNORDERED-LIST-ITEM  (LIST-ITEM, BLOCK-COMPONENT)
    No slots.
  • Class HEADER  (PARENT-COMPONENT, BLOCK-COMPONENT)
    DEPTH   Accessor: DEPTH
  • Class HORIZONTAL-RULE  (UNIT-COMPONENT, BLOCK-COMPONENT)
    No slots.
  • Class CODE-BLOCK  (TEXT-COMPONENT, BLOCK-COMPONENT)
    LANGUAGE   Accessor: LANGUAGE
    OPTIONS   Accessor: OPTIONS
    DEPTH   Accessor: DEPTH
  • Class INSTRUCTION  (BLOCK-COMPONENT)
    No slots.
  • Class MESSAGE-INSTRUCTION  (INSTRUCTION)
    MESSAGE   Accessor: MESSAGE
  • Class DIRECTIVES-INSTRUCTION  (INSTRUCTION)
    DIRECTIVES   Accessor: DIRECTIVES
  • Class SET  (INSTRUCTION)
    VARIABLE   Accessor: VARIABLE
    VALUE   Accessor: VALUE
  • Class INFO  (MESSAGE-INSTRUCTION)
    No slots.
  • Class WARNING  (MESSAGE-INSTRUCTION)
    No slots.
  • Class ERROR  (MESSAGE-INSTRUCTION)
    No slots.
  • Class INCLUDE  (INSTRUCTION)
    FILE   Accessor: FILE
  • Class DISABLE  (DIRECTIVES-INSTRUCTION)
    No slots.
  • Class ENABLE  (DIRECTIVES-INSTRUCTION)
    No slots.
  • Class LABEL  (INSTRUCTION)
    TARGET   Accessor: TARGET
  • Class COMMENT  (TEXT-COMPONENT, BLOCK-COMPONENT)
    No slots.
  • Class EMBED  (UNIT-COMPONENT, BLOCK-COMPONENT)
    TARGET   Accessor: TARGET
    OPTIONS   Accessor: OPTIONS
  • Class IMAGE  (EMBED)
    No slots.
  • Class VIDEO  (EMBED)
    No slots.
  • Class AUDIO  (EMBED)
    No slots.
  • Class EMBED-OPTION
    No slots.
  • Class LOOP-OPTION  (EMBED-OPTION)
    No slots.
  • Class AUTOPLAY-OPTION  (EMBED-OPTION)
    No slots.
  • Class WIDTH-OPTION  (EMBED-OPTION, SIZED)
    No slots.
  • Class HEIGHT-OPTION  (EMBED-OPTION, SIZED)
    No slots.
  • Class FLOAT-OPTION  (EMBED-OPTION)
    DIRECTION   Accessor: DIRECTION
  • Class LABEL-OPTION  (EMBED-OPTION)
    TARGET   Accessor: TARGET
  • Class CAPTION-OPTION  (EMBED-OPTION, PARENT-COMPONENT)
    No slots.
  • Class FOOTNOTE  (PARENT-COMPONENT, BLOCK-COMPONENT)
    TARGET   Accessor: TARGET
  • Class BOLD  (INLINE-COMPONENT, PARENT-COMPONENT)
    No slots.
  • Class ITALIC  (INLINE-COMPONENT, PARENT-COMPONENT)
    No slots.
  • Class UNDERLINE  (INLINE-COMPONENT, PARENT-COMPONENT)
    No slots.
  • Class STRIKETHROUGH  (INLINE-COMPONENT, PARENT-COMPONENT)
    No slots.
  • Class CODE  (INLINE-COMPONENT, PARENT-COMPONENT)
    No slots.
  • Class SUBTEXT  (INLINE-COMPONENT, PARENT-COMPONENT)
    No slots.
  • Class SUPERTEXT  (INLINE-COMPONENT, PARENT-COMPONENT)
    No slots.
  • Class URL  (INLINE-COMPONENT, UNIT-COMPONENT)
    TARGET   Accessor: TARGET
  • Class COMPOUND  (INLINE-COMPONENT, PARENT-COMPONENT)
    OPTIONS   Accessor: OPTIONS
  • Class COMPOUND-OPTION
    No slots.
  • Class BOLD-OPTION  (COMPOUND-OPTION)
    No slots.
  • Class ITALIC-OPTION  (COMPOUND-OPTION)
    No slots.
  • Class UNDERLINE-OPTION  (COMPOUND-OPTION)
    No slots.
  • Class STRIKETHROUGH-OPTION  (COMPOUND-OPTION)
    No slots.
  • Class SPOILER-OPTION  (COMPOUND-OPTION)
    No slots.
  • Class FONT-OPTION  (COMPOUND-OPTION)
    FONT-FAMILY   Accessor: FONT-FAMILY
  • Class COLOR-OPTION  (COMPOUND-OPTION)
    RED   Accessor: RED
    GREEN   Accessor: GREEN
    BLUE   Accessor: BLUE
  • Class SIZE-OPTION  (COMPOUND-OPTION, SIZED)
    No slots.
  • Class LINK-OPTION  (COMPOUND-OPTION)
    TARGET   Accessor: TARGET
  • Class INTERNAL-LINK-OPTION  (LINK-OPTION)
    No slots.
  • Class FOOTNOTE-REFERENCE  (INLINE-COMPONENT, UNIT-COMPONENT)
    TARGET   Accessor: TARGET
  • Class EN-DASH  (UNIT-COMPONENT)
    No slots.
  • Class EM-DASH  (UNIT-COMPONENT)
    No slots.
  • Class NEWLINE  (UNIT-COMPONENT)
    No slots.

CL-MARKLESS

  • Macro MATCH! (prefix line cursor)
  • Function READ-DELIMITED (line cursor delimiter)
  • Function SPLIT-STRING (string split &optional (start 0))
  • Function STARTS-WITH (beginning string &optional (start 0))
  • Function ENDS-WITH (ending string)
  • Function PARSE-FLOAT (string &key (start 0) (end (length string)))
  • Function TO-READTABLE-CASE (string case)
  • Function CONDENSE-CHILDREN (children)
  • Function CONDENSE-COMPONENT-TREE (component)
  • Condition MARKLESS-CONDITION  (CONDITION)
  • Condition IMPLEMENTATION-CONDITION  (MARKLESS-CONDITION)
  • Condition STACK-EXHAUSTED  (IMPLEMENTATION-CONDITION, ERROR)
  • Condition INSTRUCTION-EVALUATION-UNDEFINED  (IMPLEMENTATION-CONDITION, ERROR)
  • Condition DEACTIVATION-DISALLOWED  (MARKLESS-CONDITION, ERROR)
  • Condition PARSER-CONDITION  (MARKLESS-CONDITION)
  • Condition PARSER-ERROR  (PARSER-CONDITION, ERROR)
  • Condition PARSER-WARNING  (PARSER-CONDITION, WARNING)
  • Condition UNKNOWN-INSTRUCTION  (PARSER-ERROR)
  • Condition UNKNOWN-EMBED-TYPE  (PARSER-WARNING)
  • Condition BAD-OPTION  (PARSER-WARNING)
  • Condition BAD-UNIT  (BAD-OPTION)
  • Condition OPTION-DISALLOWED  (BAD-OPTION)
  • Condition BAD-VARIABLE  (PARSER-ERROR)
  • Condition BAD-VALUE  (PARSER-ERROR)
  • Condition USER-WARNING  (PARSER-WARNING)
  • Condition USER-ERROR  (PARSER-ERROR)
  • Variable *COLOR-TABLE*
    (cl-markless::make-color-table
     '(cl-markless::indian-red (205 92 92) cl-markless::light-coral (240 128 128)
       cl-markless::salmon (250 128 114) cl-markless::dark-salmon (233 150 122)
       cl-markless::light-salmon (255 160 122) cl-markless::crimson (220 20 60)
       cl-markless::red (255 0 0) cl-markless::firebrick (178 34 34)
       cl-markless::dark-red (139 0 0) cl-markless::pink (255 192 203)
       cl-markless::light-pink (255 182 193) cl-markless::hot-pink (255 105 180)
       cl-markless::deep-pink (255 20 147) cl-markless::medium-violet-red
       (199 21 133) cl-markless::pale-violet-red (219 112 147)
       cl-markless::light-salmon (255 160 122) cl-markless::coral (255 127 80)
       cl-markless::tomato (255 99 71) cl-markless::orange-red (255 69 0)
       cl-markless::dark-orange (255 140 0) cl-markless::orange (255 165 0)
       cl-markless::gold (255 215 0) cl-markless::yellow (255 255 0)
       cl-markless::light-yellow (255 255 224) cl-markless::lemon-chiffon
       (255 250 205) cl-markless::light-goldenrod-yellow (250 250 210)
       cl-markless::papayawhip (255 239 213) cl-markless::moccasin (255 228 181)
       cl-markless::peachpuff (255 218 185) cl-markless::pale-goldenrod
       (238 232 170) cl-markless::khaki (240 230 140) cl-markless::dark-khaki
       (189 183 107) cl-markless::lavender (230 230 250) cl-markless::thistle
       (216 191 216) cl-markless::plum (221 160 221) cl-markless::violet
       (238 130 238) cl-markless::orchid (218 112 214) cl-markless::fuchsia
       (255 0 255) cl-markless::magenta (255 0 255) cl-markless::medium-orchid
       (186 85 211) cl-markless::medium-purple (147 112 219)
       cl-markless::rebecca-purple (102 51 153) cl-markless::blue-violet
       (138 43 226) cl-markless::dark-violet (148 0 211) cl-markless::dark-orchid
       (153 50 204) cl-markless::dark-magenta (139 0 139) cl-markless::purple
       (128 0 128) cl-markless::indigo (75 0 130) cl-markless::slate-blue
       (106 90 205) cl-markless::dark-slate-blue (72 61 139)
       cl-markless::medium-slate-blue (123 104 238) cl-markless::green-yellow
       (173 255 47) cl-markless::chartreuse (127 255 0) cl-markless::lawn-green
       (124 252 0) cl-markless::lime (0 255 0) cl-markless::lime-green (50 205 50)
       cl-markless::pale-green (152 251 152) cl-markless::light-green (144 238 144)
       cl-markless::medium-spring-green (0 250 154) cl-markless::spring-green
       (0 255 127) cl-markless::medium-sea-green (60 179 113)
       cl-markless::sea-green (46 139 87) cl-markless::forest-green (34 139 34)
       cl-markless::green (0 128 0) cl-markless::dark-green (0 100 0)
       cl-markless::yellow-green (154 205 50) cl-markless::olive-drab (107 142 35)
       cl-markless::olive (128 128 0) cl-markless::dark-olive-green (85 107 47)
       cl-markless::medium-aquamarine (102 205 170) cl-markless::dark-sea-green
       (143 188 139) cl-markless::light-sea-green (32 178 170)
       cl-markless::dark-cyan (0 139 139) cl-markless::teal (0 128 128)
       cl-markless::aqua (0 255 255) cl-markless::cyan (0 255 255)
       cl-markless::light-cyan (224 255 255) cl-markless::pale-turquoise
       (175 238 238) cl-markless::aquamarine (127 255 212) cl-markless::turquoise
       (64 224 208) cl-markless::medium-turquoise (72 209 204)
       cl-markless::dark-turquoise (0 206 209) cl-markless::cadet-blue (95 158 160)
       cl-markless::steel-blue (70 130 180) cl-markless::light-steel-blue
       (176 196 222) cl-markless::powder-blue (176 224 230) cl-markless::light-blue
       (173 216 230) cl-markless::sky-blue (135 206 235)
       cl-markless::light-sky-blue (135 206 250) cl-markless::deep-sky-blue
       (0 191 255) cl-markless::dodger-blue (30 144 255)
       cl-markless::cornflower-blue (100 149 237) cl-markless::medium-slate-blue
       (123 104 238) cl-markless::royal-blue (65 105 225) cl-markless::blue
       (0 0 255) cl-markless::medium-blue (0 0 205) cl-markless::dark-blue
       (0 0 139) cl-markless::navy (0 0 128) cl-markless::midnight-blue (25 25 112)
       cl-markless::cornsilk (255 248 220) cl-markless::blanched-almond
       (255 235 205) cl-markless::bisque (255 228 196) cl-markless::navajo-white
       (255 222 173) cl-markless::wheat (245 222 179) cl-markless::burlywood
       (222 184 135) tan (210 180 140) cl-markless::rosy-brown (188 143 143)
       cl-markless::sandy-brown (244 164 96) cl-markless::goldenrod (218 165 32)
       cl-markless::dark-goldenrod (184 134 11) cl-markless::peru (205 133 63)
       cl-markless::chocolate (210 105 30) cl-markless::saddle-brown (139 69 19)
       cl-markless::sienna (160 82 45) cl-markless::brown (165 42 42)
       cl-markless::maroon (128 0 0) cl-markless::white (255 255 255)
       cl-markless::snow (255 250 250) cl-markless::honeydew (240 255 240)
       cl-markless::mintcream (245 255 250) cl-markless::azure (240 255 255)
       cl-markless::alice-blue (240 248 255) cl-markless::ghost-white (248 248 255)
       cl-markless::white-smoke (245 245 245) cl-markless::seashell (255 245 238)
       cl-markless::beige (245 245 220) cl-markless::oldlace (253 245 230)
       cl-markless::floral-white (255 250 240) cl-markless::ivory (255 255 240)
       cl-markless::antique-white (250 235 215) cl-markless::linen (250 240 230)
       cl-markless::lavenderblush (255 240 245) cl-markless::mistyrose
       (255 228 225) cl-markless::gainsboro (220 220 220) cl-markless::light-gray
       (211 211 211) cl-markless::silver (192 192 192) cl-markless::dark-gray
       (169 169 169) cl-markless::gray (128 128 128) cl-markless::dim-gray
       (105 105 105) cl-markless::light-slate-gray (119 136 153)
       cl-markless::slate-gray (112 128 144) cl-markless::dark-slate-gray
       (47 79 79) cl-markless::black (0 0 0)))
  • Variable *SIZE-TABLE*
    (cl-markless::make-size-table
     '(cl-markless::microscopic (0.25 :em) cl-markless::tiny (0.5 :em)
       cl-markless::small (0.8 :em) cl-markless::normal (1.0 :em) cl-markless::big
       (1.5 :em) cl-markless::large (2.0 :em) cl-markless::huge (2.5 :em)
       cl-markless::gigantic (4.0 :em)))
  • Function OUTPUT (component &rest initargs &key (target t) (format 'markless) &allow-other-keys)
  • Class OUTPUT-FORMAT
    No slots.
  • Function LIST-OUTPUT-FORMATS
  • Generic-Function OUTPUT-COMPONENT (component target format)
  • Method OUTPUT-COMPONENT (component target (format symbol))
  • Method OUTPUT-COMPONENT (component (target pathname) format)
  • Method OUTPUT-COMPONENT ((component unit-component) target format)
  • Method OUTPUT-COMPONENT ((string string) (stream stream) format)
  • Macro DEFINE-OUTPUT (format (component stream) &body methods)
  • Class DEBUG  (OUTPUT-FORMAT)
    No slots.
  • Method OUTPUT-COMPONENT ((c t) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c string) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c component) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c parent-component) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c parent-component) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c ordered-list-item) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c header) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c code-block) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c message-instruction) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c set) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c include) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c directives-instruction) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c embed) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c footnote) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c footnote-reference) (s stream) (_ debug))
  • Method OUTPUT-COMPONENT ((c compound) (s stream) (_ debug))
  • Class MARKLESS  (OUTPUT-FORMAT)
    No slots.
  • Method OUTPUT-COMPONENT ((c vector) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c string) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c unit-component) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c parent-component) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c paragraph) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c blockquote-header) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c blockquote) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c ordered-list-item) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c unordered-list-item) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c header) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c horizontal-rule) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c code-block) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c instruction) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c message-instruction) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c directives-instruction) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c set) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c include) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c label) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c comment) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c embed) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c embed-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c width-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c height-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c float-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c label-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c caption-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c footnote) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c bold) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c italic) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c underline) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c strikethrough) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c code) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c subtext) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c supertext) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c url) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c compound) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c compound-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c font-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c color-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c size-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c internal-link-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c link-option) (s stream) (_ markless))
  • Method OUTPUT-COMPONENT ((c footnote-reference) (s stream) (_ markless))
  • Variable *DEFAULT-DIRECTIVES*
    '(cl-markless:paragraph cl-markless:blockquote-header cl-markless:blockquote
      cl-markless:unordered-list cl-markless:ordered-list cl-markless:header
      cl-markless:horizontal-rule cl-markless:code-block cl-markless:instruction
      cl-markless:comment cl-markless:embed cl-markless:footnote cl-markless:bold
      cl-markless:italic cl-markless:underline cl-markless:strikethrough
      cl-markless:code cl-markless:dash cl-markless:supertext cl-markless:subtext
      cl-markless:compound cl-markless:footnote-reference cl-markless:url
      cl-markless:newline)
  • Function COMPILE-DISPATCH-TABLE (directives)
  • Function DISPATCH (table string cursor)
  • Struct STACK-ENTRY
    DIRECTIVE
    COMPONENT
  • Function STACK-ENTRY-DIRECTIVE (instance)
  • Function (setf STACK-ENTRY-DIRECTIVE) (value instance)
  • Function STACK-ENTRY-COMPONENT (instance)
  • Function (setf STACK-ENTRY-COMPONENT) (value instance)
  • Class PARSER
    LINE-BREAK-MODE   Accessor: LINE-BREAK-MODE
    DIRECTIVES   Accessor: DIRECTIVES
    BLOCK-DISPATCH-TABLE   Accessor: BLOCK-DISPATCH-TABLE
    INLINE-DISPATCH-TABLE   Accessor: INLINE-DISPATCH-TABLE
    INPUT   Accessor: INPUT
    STACK   Accessor: STACK
  • Function STACK-PUSH (directive component stack)
  • Function STACK-POP (stack)
  • Function STACK-TOP (stack)
  • Function STACK-BOTTOM (stack)
  • Function STACK-UNWIND (stack parser until)
  • Function ROOT (parser)
  • Method DIRECTIVE ((name symbol) (parser parser))
  • Method DIRECTIVE ((name string) parser)
  • Method DIRECTIVES-OF (type (parser parser))
  • Method DISABLE ((parser parser) (test function))
  • Method ENABLE ((parser parser) (test function))
  • Method EVALUATE-INSTRUCTION (instruction (parser parser))
  • Method EVALUATE-INSTRUCTION ((instruction set) (parser parser))
  • Method EVALUATE-INSTRUCTION ((instruction info) (parser parser))
  • Method EVALUATE-INSTRUCTION ((instruction warning) (parser parser))
  • Method EVALUATE-INSTRUCTION ((instruction error) (parser parser))
  • Method EVALUATE-INSTRUCTION ((instruction include) (parser parser))
  • Method EVALUATE-INSTRUCTION ((instruction disable) (parser parser))
  • Method EVALUATE-INSTRUCTION ((instruction enable) (parser parser))
  • Method EVALUATE-INSTRUCTION ((instruction label) (parser parser))
  • Function READ-FULL-LINE (stream)
  • Method PARSE (thing (parser (eql t)))
  • Method PARSE ((pathname pathname) parser)
  • Method PARSE ((string string) parser)
  • Method PARSE ((stream stream) (parser parser))
  • Function COMMIT (directive component parser)
  • Function READ-BLOCK (parser line cursor)
  • Function READ-URL (line cursor)
  • Function READ-INLINE (parser line cursor end-char)
  • Class DIRECTIVE
    ENABLED-P   Accessor: ENABLED-P
  • Function ENSURE-DIRECTIVE (directive-ish)
  • Generic-Function PREFIX (directive)
  • Generic-Function BEGIN (directive parser line cursor)
  • Generic-Function INVOKE (directive component parser line cursor)
  • Generic-Function END (directive component parser)
  • Generic-Function CONSUME-PREFIX (directive component parser line cursor)
  • Generic-Function CONSUME-END (directive component parser line cursor)
  • Class ROOT-DIRECTIVE  (DIRECTIVE)
    No slots.
  • Method (setf ENABLED-P) ((value null) (_ root-directive))
  • Method INVOKE ((_ root-directive) component parser line cursor)
  • Method END ((_ root-directive) component parser)
  • Class BLOCK-DIRECTIVE  (DIRECTIVE)
    No slots.
  • Method END ((_ block-directive) component parser)
  • Method INVOKE ((_ block-directive) component parser line cursor)
  • Class SINGULAR-LINE-DIRECTIVE  (BLOCK-DIRECTIVE)
    No slots.
  • Method CONSUME-PREFIX ((_ singular-line-directive) component parser line cursor)
  • Method INVOKE ((_ singular-line-directive) component parser line cursor)
  • Class INLINE-DIRECTIVE  (DIRECTIVE)
    No slots.
  • Method END ((_ inline-directive) component parser)
  • Method INVOKE ((_ inline-directive) component parser line cursor)
  • Class SURROUNDING-INLINE-DIRECTIVE  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ surrounding-inline-directive) parser line cursor)
  • Method CONSUME-PREFIX ((_ noop) component parser line cursor)
  • Method END ((_ noop) component parser)
  • Class PARAGRAPH  (BLOCK-DIRECTIVE)
    No slots.
  • Method (setf ENABLED-P) ((value null) (_ paragraph))
  • Method BEGIN ((_ paragraph) parser line cursor)
  • Method CONSUME-PREFIX ((_ paragraph) component parser line cursor)
  • Method INVOKE ((_ paragraph) component parser line cursor)
  • Class BLOCKQUOTE-HEADER  (SINGULAR-LINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ blockquote-header) parser line cursor)
  • Class BLOCKQUOTE  (BLOCK-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ blockquote) parser line cursor)
  • Method CONSUME-PREFIX ((_ blockquote) component parser line cursor)
  • Class UNORDERED-LIST  (BLOCK-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ unordered-list) parser line cursor)
  • Method CONSUME-PREFIX ((_ unordered-list) component parser line cursor)
  • Class ORDERED-LIST  (BLOCK-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ ordered-list) parser line cursor)
  • Method CONSUME-PREFIX ((_ ordered-list) component parser line cursor)
  • Class HEADER  (SINGULAR-LINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ header) parser line cursor)
  • Method END ((_ header) component parser)
  • Class HORIZONTAL-RULE  (SINGULAR-LINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ horizontal-rule) parser line cursor)
  • Method INVOKE ((_ horizontal-rule) component parser line cursor)
  • Class CODE-BLOCK  (BLOCK-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ code-block) parser line cursor)
  • Method INVOKE ((_ code-block) component parser line cursor)
  • Class INSTRUCTION  (SINGULAR-LINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ instruction) parser line cursor)
  • Method INVOKE ((_ instruction) component parser line cursor)
  • Class COMMENT  (SINGULAR-LINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ comment) parser line cursor)
  • Class EMBED  (SINGULAR-LINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ embed) parser line start-cursor)
  • Function PARSE-EMBED-OPTION (cursor option component)
  • Method PARSE-EMBED-OPTION-TYPE ((type embed-option) option)
  • Method PARSE-EMBED-OPTION-TYPE ((type float-option) option)
  • Method PARSE-EMBED-OPTION-TYPE ((type label-option) option)
  • Method PARSE-EMBED-OPTION-TYPE ((type caption-option) option)
  • Method PARSE-EMBED-OPTION-TYPE ((type width-option) option)
  • Method PARSE-EMBED-OPTION-TYPE ((type height-option) option)
  • Method EMBED-OPTION-ALLOWED-P ((option embed-option) (embed embed))
  • Class FOOTNOTE  (SINGULAR-LINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ footnote) parser line cursor)
  • Class BOLD  (SURROUNDING-INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ bold) parser line cursor)
  • Method END ((_ bold) component parser)
  • Class ITALIC  (SURROUNDING-INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ italic) parser line cursor)
  • Method END ((_ italic) component parser)
  • Class UNDERLINE  (SURROUNDING-INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ underline) parser line cursor)
  • Method END ((_ underline) component parser)
  • Class STRIKETHROUGH  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ strikethrough) parser line cursor)
  • Method INVOKE ((_ strikethrough) component parser line cursor)
  • Method CONSUME-END ((_ strikethrough) component parser line cursor)
  • Method END ((_ strikethrough) component parser)
  • Class CODE  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ code) parser line cursor)
  • Method END ((_ code) component parser)
  • Class SUPERTEXT  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ supertext) parser line cursor)
  • Method INVOKE ((_ supertext) component parser line cursor)
  • Method CONSUME-END ((_ supertext) component parser line cursor)
  • Method END ((_ supertext) component parser)
  • Class SUBTEXT  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ subtext) parser line cursor)
  • Method INVOKE ((_ subtext) component parser line cursor)
  • Method CONSUME-END ((_ subtext) component parser line cursor)
  • Method END ((_ subtext) component parser)
  • Class COMPOUND  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ compound) parser line cursor)
  • Method INVOKE ((_ compound) component parser line cursor)
  • Method CONSUME-END ((_ compound) component parser line cursor)
  • Method END ((_ compound) component parser)
  • Function PARSE-COMPOUND-OPTION (cursor option)
  • Method PARSE-COMPOUND-OPTION-TYPE ((proto compound-option) option)
  • Method PARSE-COMPOUND-OPTION-TYPE ((proto font-option) option)
  • Method PARSE-COMPOUND-OPTION-TYPE ((proto color-option) option)
  • Method PARSE-COMPOUND-OPTION-TYPE ((proto size-option) option)
  • Method PARSE-COMPOUND-OPTION-TYPE ((proto link-option) option)
  • Class FOOTNOTE-REFERENCE  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ footnote-reference) parser line cursor)
  • Class URL  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ url) parser line cursor)
  • Class DASH  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ dash) parser line cursor)
  • Class NEWLINE  (INLINE-DIRECTIVE)
    No slots.
  • Method BEGIN ((_ newline) parser line cursor)

cl-markless-epub

A compiler for Markless to EPUB.

CL-MARKLESS-EPUB

  • Class EPUB  (OUTPUT-FORMAT)
    ID   Accessor: ID
    DATE   Accessor: DATE
    TITLE   Accessor: TITLE
    COVER   Accessor: COVER
    STYLESHEET   Accessor: STYLESHEET
    EMBEDS   Accessor: EMBEDS
    IF-EXISTS   Accessor: IF-EXISTS
  • Function OUTPUT (markless target &rest args)

cl-markless-markdown

A compiler for Markdown to Markless

CL-MARKLESS-MARKDOWN

  • Function PARSE (markdown)
  • Function CONVERT (markdown &key (output (make-pathname :type "mess" :defaults markdown)) (if-exists :error))
  • Class HTML-TAG  (UNIT-COMPONENT)
    TAG   Accessor: TAG

cl-markless-test

A parser implementation for Markless

CL-MARKLESS-TEST

  • Variable *TEST-CASE-DIRECTORY*
    (merge-pathnames "tests/" cl-markless-test::*here*)
  • Generic-Function TO-AST (component)
  • Method TO-AST ((_ component))
  • Method TO-AST ((_ root-component))
  • Method TO-AST ((_ text-component))
  • Method TO-AST ((_ parent-component))
  • Method TO-AST ((_ ordered-list-item))
  • Method TO-AST ((_ header))
  • Method TO-AST ((_ code-block))
  • Method TO-AST ((_ embed))
  • Method TO-AST ((_ autoplay-option))
  • Method TO-AST ((_ loop-option))
  • Method TO-AST ((_ width-option))
  • Method TO-AST ((_ height-option))
  • Method TO-AST ((_ float-option))
  • Method TO-AST ((_ label-option))
  • Method TO-AST ((_ caption-option))
  • Method TO-AST ((_ footnote))
  • Method TO-AST ((_ footnote-reference))
  • Method TO-AST ((_ url))
  • Method TO-AST ((_ compound))
  • Method TO-AST ((_ bold-option))
  • Method TO-AST ((_ italic-option))
  • Method TO-AST ((_ underline-option))
  • Method TO-AST ((_ strikethrough-option))
  • Method TO-AST ((_ spoiler-option))
  • Method TO-AST ((_ font-option))
  • Method TO-AST ((_ color-option))
  • Method TO-AST ((_ size-option))
  • Method TO-AST ((_ link-option))
  • Function AST= (a b)
  • Function CREATE-TEST-FROM-FILE (file)
  • Function COMPILE-ALL-TEST-CASES (&optional (directory *test-case-directory*))