Groups
Groups
Sign in
Groups
Groups
modgrammar
Conversations
About
Send feedback
Help
modgrammar
1–28 of 28
Mark all as read
Report group
0 selected
FatsieFS
,
Alex Stewart
7
1/21/20
string matchings fails without anonymous subgrammar
Sorry, I should have been a bit more explicit. grammar sub-elements need to be class instances of
unread,
string matchings fails without anonymous subgrammar
Sorry, I should have been a bit more explicit. grammar sub-elements need to be class instances of
1/21/20
FatsieFS
1/20/20
State of modgrammar
I am using modgrammar and have some questions, reports. I have not seen much recent activity so I am
unread,
State of modgrammar
I am using modgrammar and have some questions, reports. I have not seen much recent activity so I am
1/20/20
PD Priyadarshan
,
Alex Stewart
2
2/16/18
Specifying a 'set' of subgrammars
Hmm.. There isn't really a preexisting grammar construct for this sort of thing.. You could do an
unread,
Specifying a 'set' of subgrammars
Hmm.. There isn't really a preexisting grammar construct for this sort of thing.. You could do an
2/16/18
Morten Nielsen
5/12/16
Position of matched string
Hi there! In my use case I need the position of the matched portion of the string. Might I suggest
unread,
Position of matched string
Hi there! In my use case I need the position of the matched portion of the string. Might I suggest
5/12/16
kio...@gmail.com
,
Alex Stewart
3
5/20/15
Problem matching in log file
Thanks! I have made the next changes to the original grammar: class ExtraLine(Grammar): grammar = (
unread,
Problem matching in log file
Thanks! I have made the next changes to the original grammar: class ExtraLine(Grammar): grammar = (
5/20/15
aditya...@gmail.com
, …
Alex Stewart
11
5/12/15
Problem with WORD
Hey there.. sorry, I was actually away last week and not checking my email regularly, so I didn't
unread,
Problem with WORD
Hey there.. sorry, I was actually away last week and not checking my email regularly, so I didn't
5/12/15
hamm...@orderofthehammer.com
2/15/15
WORD(<nonempty string>, '')
Currently WORD('1-9', '') is equivalent to WORD('1-9') because the
unread,
WORD(<nonempty string>, '')
Currently WORD('1-9', '') is equivalent to WORD('1-9') because the
2/15/15
Alex Stewart
5/19/14
Re: [modgrammar] Parentheses matching taking a very long time
Hi Peter, I haven't had a chance to really dig into this yet, but on initial inspection, I note
unread,
Re: [modgrammar] Parentheses matching taking a very long time
Hi Peter, I haven't had a chance to really dig into this yet, but on initial inspection, I note
5/19/14
progr...@gmail.com
,
Alex Stewart
4
5/4/14
Conditional parsing
As the code above just shows the idea, here a small snippet for the nested templates that I got to
unread,
Conditional parsing
As the code above just shows the idea, here a small snippet for the nested templates that I got to
5/4/14
raghavan
,
Alex Stewart
2
4/11/14
OR operator between multiple grammars
That is actually a limitation in Python. Expressing grammars as: (GrammarOne, GrammarTwo,
unread,
OR operator between multiple grammars
That is actually a limitation in Python. Expressing grammars as: (GrammarOne, GrammarTwo,
4/11/14
raghavan
,
Alex Stewart
7
4/11/14
grammar supporting ambiguity
Thanks Alex. You've been very helpful. On Friday, April 11, 2014 12:18:54 PM UTC-7, Alex Stewart
unread,
grammar supporting ambiguity
Thanks Alex. You've been very helpful. On Friday, April 11, 2014 12:18:54 PM UTC-7, Alex Stewart
4/11/14
raghavan
,
Alex Stewart
3
4/10/14
grammar for names
Thanks that worked! On Wednesday, April 9, 2014 2:03:34 PM UTC-7, Alex Stewart wrote: Hi Raghavan,
unread,
grammar for names
Thanks that worked! On Wednesday, April 9, 2014 2:03:34 PM UTC-7, Alex Stewart wrote: Hi Raghavan,
4/10/14
Ravi Shankar
,
Alex Stewart
4
2/19/14
BOOLEAN grammar using modgrammar
1. Do you have any backport of modgrammar 0.10 that will work with python 2.6 ? Unfortunately, no..
unread,
BOOLEAN grammar using modgrammar
1. Do you have any backport of modgrammar 0.10 that will work with python 2.6 ? Unfortunately, no..
2/19/14
Jose Trigueros
7/29/13
Case Insensitive Literals
Is there a way to enable case insensitive literals? -Jose
unread,
Case Insensitive Literals
Is there a way to enable case insensitive literals? -Jose
7/29/13
Tomas
6/19/13
Code example
Hello, nice parser. But after creating some parsing rules, i've have a problem. For example my
unread,
Code example
Hello, nice parser. But after creating some parsing rules, i've have a problem. For example my
6/19/13
Alex Stewart
2/15/13
Modgrammar 0.10 released!
Hear Ye, Hear Ye! Modgrammar 0.10 has now been released! New in this release: Added matchtype='
unread,
Modgrammar 0.10 released!
Hear Ye, Hear Ye! Modgrammar 0.10 has now been released! New in this release: Added matchtype='
2/15/13
Alex Stewart
1/11/13
Announcement
Modgrammar 0.9.1 Released!
Well, wouldn't you know it, no sooner do I push out 0.9, but I discover several more bugs and
unread,
Announcement
Modgrammar 0.9.1 Released!
Well, wouldn't you know it, no sooner do I push out 0.9, but I discover several more bugs and
1/11/13
lhebble...@btinternet.com
,
Alex Stewart
5
1/4/13
Separating Identifiers from Reserved Words
Ok, so Modgrammar 0.9 has now been released (took a bit longer than I expected due to the holidays
unread,
Separating Identifiers from Reserved Words
Ok, so Modgrammar 0.9 has now been released (took a bit longer than I expected due to the holidays
1/4/13
Alex Stewart
1/3/13
Announcement
Modgrammar 0.9 released!
Hear Ye, Hear Ye! Modgrammar 0.9 has now been released! New in this release: Changed get/get_all/find
unread,
Announcement
Modgrammar 0.9 released!
Hear Ye, Hear Ye! Modgrammar 0.9 has now been released! New in this release: Changed get/get_all/find
1/3/13
Nekroze Embrace
,
Alex Stewart
2
1/3/13
Parser Results in NoneType
Hi there :) You're not the first person to be tripped up by this.. The parser is designed to
unread,
Parser Results in NoneType
Hi there :) You're not the first person to be tripped up by this.. The parser is designed to
1/3/13
Alex Stewart
,
Nekroze Embrace
2
12/25/12
ATTENTION: Call for input on impending API changes
Heyo, I am planning on using modgrammar for my upcoming DSL language that converts to c++ code. I
unread,
ATTENTION: Call for input on impending API changes
Heyo, I am planning on using modgrammar for my upcoming DSL language that converts to c++ code. I
12/25/12
mil...@gmail.com
,
Alex Stewart
2
12/14/12
Dynamic Literal
Hey, there.. Sorry about the late reply.. I'm not quite sure exactly what you mean by "
unread,
Dynamic Literal
Hey, there.. Sorry about the late reply.. I'm not quite sure exactly what you mean by "
12/14/12
colinta
,
iris...@gmail.com
2
12/7/12
Simple tests go awry...
When the parser returns a result of None, that typically means that it successfully accepted the data
unread,
Simple tests go awry...
When the parser returns a result of None, that typically means that it successfully accepted the data
12/7/12
Dan S
,
iris...@gmail.com
3
12/7/12
parsing escaped characters
There is a QuotedString class in the extras module that may do what you would like. On Saturday,
unread,
parsing escaped characters
There is a QuotedString class in the extras module that may do what you would like. On Saturday,
12/7/12
Šimerda
,
Alex Stewart
2
2/8/12
Debugging grammar
Hey Pavel, Sorry about the delay responding.. been a busy week.. Unfortunately, debugging modgrammar
unread,
Debugging grammar
Hey Pavel, Sorry about the delay responding.. been a busy week.. Unfortunately, debugging modgrammar
2/8/12
zunbeltz
, …
Alex Stewart
6
1/9/12
actions at parsing time
Tnanks Alex, I think it is true that I can use tags or .get method. Zunbeltz ig., 2012.eko urtren 08a
unread,
actions at parsing time
Tnanks Alex, I think it is true that I can use tags or .get method. Zunbeltz ig., 2012.eko urtren 08a
1/9/12
mbuhot
,
Alex Stewart
2
12/27/11
Operator precedence parsing with modgrammar
Hey there.. sorry about the delay in responding (been a bit hectic with the holidays and all).. Heh..
unread,
Operator precedence parsing with modgrammar
Hey there.. sorry about the delay in responding (been a bit hectic with the holidays and all).. Heh..
12/27/11
Alex Stewart
12/23/11
Modgrammar 0.8 released!
Hi folks! Modgrammar 0.8 is now officially released. New in this release: * Added a NOT_FOLLOWED_BY
unread,
Modgrammar 0.8 released!
Hi folks! Modgrammar 0.8 is now officially released. New in this release: * Added a NOT_FOLLOWED_BY
12/23/11