chez-cmark-gfm
==============

Copyright (c) 2026, Kiyomi Computation Systems LLC.
Licensed under the BSD 3-Clause License; see LICENSE.


This package binds cmark-gfm but does not distribute it. Release 2.0
compiles nothing: the library is located on the host at import time and
loaded from wherever the system package manager put it (ADR-0015,
ADR-0016).

The notices below are reproduced because this tree ships expression
transcribed from cmark-gfm's source, not because cmark-gfm is a
development dependency:

  src/cmark/gfm/sxml.sls  the HREF_SAFE byte set, from
                          src/houdini_href_e.c:32-44   (houdini, MIT)

  src/cmark/gfm/sxml.sls  the dangerous-URL scheme rule, from
                          src/scanners.re:345-354      (cmark-gfm, BSD-2-Clause)

  tests/spec-corpus.sls   the corpus parser, from
                          test/spec_tests.py:89-126    (cmark-gfm, BSD-2-Clause)

  tests/sxml-html-serializer.sls  the tag-formatting tables, from
                                   extensions/tasklist.c:125-128, plus many
                                   scattered lines of src/html.c and
                                   extensions/table.c, each cited
                                   individually in that file
                                   (cmark-gfm, BSD-2-Clause)

  tests/sxml-html-serializer.sls  the escape-html procedure, from
                                   src/houdini_html_e.c:35-62   (houdini, MIT)

  tests/sxml-html-serializer.sls  the escape-href procedure's entity half,
                                   from src/houdini_href_e.c:64-76
                                   (houdini, MIT)

The test software in cmark-gfm's test/ is under the same BSD-2-Clause
text, so the one copy below covers both. src/cmark/gfm/private/native.sls
also transcribes the CMARK_OPT_* values from src/cmark-gfm.h, but those
are interface constants, not expression.

vendor/cmark-gfm/COPYING's other four blocks are absent on purpose:
nothing here derives from buffer/chunk, utf8proc, normalize.py, or the
CC-BY-SA spec text. The example corpus is read from
vendor/cmark-gfm/test/ at test time and never copied in.


cmark-gfm
---------

Copyright (c) 2014, John MacFarlane

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.

    * Redistributions in binary form must reproduce the above
      copyright notice, this list of conditions and the following
      disclaimer in the documentation and/or other materials provided
      with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


houdini
-------

houdini_href_e.c and houdini_html_e.c derive from
https://github.com/vmg/houdini

Copyright (C) 2012 Vicent Martí

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
