Open flip111 opened 5 years ago
Hi, Sorry for not replying sooner, but I'm swamped with personal business. I'll get to the full replies soon.
For now a few quick ones:
I'm not familiair with Hoa as it covers a different use case.
1 -> 1
2 -> 2
4 -> 3
5 -> 4
? -> 5
10 -> 6
14 -> 7
15 -> 8
? -> 9
I guess this is how the questions map to the answers, i'm not sure to which question answer 5 and 9 belong to.
The numbers map to the same numbers you used
Op za 3 nov. 2018 21:04 schreef flip111 <notifications@github.com:
1 -> 1 2 -> 2 4 -> 3 5 -> 4 ? -> 5 10 -> 6 14 -> 7 15 -> 8 ? -> 9
I guess this is how the questions map to the answers, i'm not sure to which question answer 5 and 9 belong to.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vanderlee/Comprehend/issues/5#issuecomment-435616896, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnoGH61x8Hb8A-QtDgjIJCssrb3wdTcks5urfbXgaJpZM4XysH8 .
Hello, i have some questions about your library
{ some rules}-
(notice-
on the end) to denote one-or-many and alsoANY - 'literal char'
where-
is the exception symbol. So when theliteral char
isC
for example it would be the same as regex[^C]
. There is also the syntax4 * RULE
for denoting a fixed number qualifier. Is there a special token forend of file
?random AST -> pretty print -> parser -> AST
should hold( some_rule* )+
,+
must match at least one, but the inner rule is allowed to match nothing.lexer
andtokenizer
in my mind they are the same, but in the library description they are separate things.The library looks in an early stage so i realize most of the things i ask for are likely not available. But perhaps some things are. Also it's possible that some things will never be included in the design of the parser. Maybe it's possible to already comment on some of the points even though it's early.
Thanks for putting your creation online :)