/usr/share/doc/frown-doc/examples/other/Imports.lg is in frown-doc 0.6.1-13.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | > type Terminal = Char
>
> type Result = Maybe
>
> %{
>
> Terminal = 'I'
> | 'D'
> | ';'
> | '|';
>
> root {String};
> root {(xs . ys) []} : sepBy1' i ';' {xs}, ';', sepBy1' d ';' {ys};
> {xs []} | sepBy1' i ';' {xs};
> {ys []} | sepBy1' d '|' {ys};
>
> i {Char};
> i {'I'} : 'I';
>
> d {Char};
> d {'D'} : 'D';
>
> }%
>
> frown _ = error "syntax error"
|