OrangeShark / guile-commonmark

Implementation of CommonMark for Guile
GNU Lesser General Public License v3.0
38 stars 9 forks source link

Crash with lists? #21

Closed bjoli closed 3 years ago

bjoli commented 3 years ago

I am having issues with lists with guile-commonmark built from current master. The following occurs

(import (commonmark sxml))
(commonmark->sxml "* a list

error")

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure cdr: Wrong type argument in position 1 (expecting pair): "a list"

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.

This is the current master built against guile-3.0.4 on ubuntu linux 20.04.

I will try to look into what is going on, but I am not sure when I have the time. The markdown I am trying to parse produces the correct result over at https://spec.commonmark.org/dingus/

best regards Linus Björnstam

bjoli commented 3 years ago

Closing as duplicate of #20