-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Description
Hi!
Somehow peglint does not work for me like described in the readme:
$ cat a.peg
Additive <- Multitive '+' Additive / Multitive
Multitive <- Primary '*' Multitive / Primary
Primary <- '(' Additive ')' / Number
Number <- < [0-9]+ >
%whitespace <- [ \t]*
$ ./peglint --ast --source "1 + 2 * 3" a.peg
terminate called after throwing an instance of 'std::system_error'
what(): Unknown error -1
Aborted (core dumped)
When I run in server mode, it shows the page and then crashes:
$ ./peglint --ast --server 8001 --source "1 + 2 * 3" a.peg
Server running at http://localhost:8001/
(now I open the browser and it shows a promising page)
terminate called after throwing an instance of 'std::system_error'
what(): Unknown error -1
Aborted (core dumped)
I compiled and ran under Ubuntu,
The C compiler identification is GNU 7.2.0
The CXX compiler identification is GNU 7.2.0
All the best!
PS: If you can't reproduce this, I can try to provide more debug information.
Metadata
Metadata
Assignees
Labels
No labels