[Pharo-dev] pillars runs into an infinite loop on a simple typo

Stephane Ducasse stepharo.self at gmail.com
Sat Aug 26 13:05:04 EDT 2017


No pillar is line based and the beginning of the line is key.

On Sat, Aug 26, 2017 at 5:56 PM, Peter Uhnák <i.uhnak at gmail.com> wrote:
> Apparently this is enough to run into an infinite loop somewhere.
>
> text := '- one
> - # cry'.
> doc := PRPillarParser parse: text.
>
>
> Also question regarding pillar syntax, is not possible to indent it in the
> syntax?
>
> e.g.
>
> - one
>     -# one.one
> - two
>     -# two.one
>     -# two.two
>
> Flattening it makes an _indented_ list hard to read (and defeats the point
> why we indent things in the first place...)
>
> Peter



More information about the Pharo-dev mailing list