Skip to content

scribble reader broken in string like \foo|--{{}--| #1023

@cireu

Description

@cireu

The behavior of Scribble parser provided by Chibi on string like \foo|--{{}--| doesn't match with Racket @-exp parser

Chibi:

foo@bar:~/tmp$ chibi-scheme 
> (import (chibi scribble))
> (import (chibi string))
> (call-with-input-string "\\foo|---{{}---|" scribble-parse)
((foo "{}---|"))

Racket

foo@bar:~$ racket -ile scribble/reader "(use-at-readtable)"
Welcome to Racket v8.15 [cs].
> '@foo|--{{}--|
'(foo "{")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions