Time |
Nick |
Message |
01:48 |
|
ilbot3 joined #marpa |
01:48 |
|
Topic for #marpa is now Start here: http://savage.net.au/Marpa.html - Code paste: http://scsys.co.uk:8002/marpa - Jeffrey's Marpa site: http://jeffreykegler.github.io/Marpa-web-site/ - IRC log: http://irclog.perlgeek.de/marpa/today - Youtube channel: https://www.youtube.com/channel/UCYKVfGBtfTqbs1JdYq-dc5g |
02:16 |
|
idiosyncrat joined #marpa |
02:17 |
idiosyncrat |
ronsavage: re https://irclog.perlgeek.de/marpa/2017-04-01#i_14362126 -- |
02:17 |
idiosyncrat |
Another alternative is "Jeffrey Kegler is creating Marpa" -- some Patreon creators take that approach. *None* of them add an article, at least that I've seen so far. |
03:23 |
idiosyncrat |
OK. A few of them add an article. |
03:29 |
ronsavage |
levelup: You can use multiple lines with the same LHS: |
03:29 |
ronsavage |
statement_terminator::= semicolon_literal |
03:29 |
ronsavage |
statement_terminator::= |
03:29 |
ronsavage |
In this case the 2nd is null, but ignore that. |
03:29 |
ronsavage |
Likewise for L0 items: |
03:29 |
ronsavage |
:lexeme~ close_bracketpause => beforeevent => close_bracket |
03:29 |
ronsavage |
close_bracket~ ']' |
03:29 |
ronsavage |
close_bracket~ '];' |
03:30 |
ronsavage |
By ignore, I mean ignore the fact that it's null and just add you own grammar. |
03:31 |
ronsavage |
Alternately, you could use: |
03:31 |
ronsavage |
subgraph_sequence::= subgraph_sub_and_id |
03:31 |
ronsavage |
| subgraph_sub_no_id |
03:31 |
ronsavage |
| subgraph_no_sub_no_id |
03:31 |
ronsavage |
This gives Marpa 3 ways to expect a subgraph_sequence. |
03:54 |
idiosyncrat |
ronsavage: IIRC levelup's question was how to convert jdurand's grammar to LALR/yacc |
03:55 |
idiosyncrat |
Since LALR is a very small subset of BNF/context-free, that is not in general possible, and is not possible in many practical cases. |
04:34 |
|
ernimril joined #marpa |
04:49 |
idiosyncrat |
ronsavage: Let me know what you think is best re Patreon title. |
04:50 |
idiosyncrat |
Good night! |
04:50 |
|
ronsavage joined #marpa |
05:05 |
|
levelup joined #marpa |
05:30 |
|
levelup joined #marpa |
05:50 |
ronsavage |
JK: Re Patreon. How about Jeffrey Kegler Author of Marpa/.... Since your name is in bold, the lack of a colon just after 'Kegler' should be ok. |
05:51 |
ronsavage |
JK: Re http://irclog.perlgeek.de/marpa/2017-04-02#i_14362721. Oh. |
06:13 |
|
idiosyncrat joined #marpa |
06:15 |
idiosyncrat |
ronsavage: The point is Patreon will create a title of the form "X is creating Y", where it uses my name as "X", and I can supply the text for Y. |
06:15 |
idiosyncrat |
So " |
06:16 |
idiosyncrat |
So "Jeffrey Kegler Author of Marpa" is just not something their format allows. |
06:16 |
idiosyncrat |
I need an Y that makes sense when stuck into the above formula. |
06:17 |
idiosyncrat |
The Y also gets stuck into the phrase "Creating Y" at various points. |
06:17 |
idiosyncrat |
So if Y == "Marpa", then I get "Jeffrey Kegler is creating Marpa". |
07:39 |
|
sirdancealot joined #marpa |
08:09 |
|
sirdancealot joined #marpa |
08:22 |
|
sirdancealot joined #marpa |
08:26 |
|
sirdancealot joined #marpa |
08:31 |
|
sirdancealot joined #marpa |
11:21 |
|
jdurand joined #marpa |
11:41 |
|
jdurand joined #marpa |
13:11 |
|
jdurand_ joined #marpa |
18:41 |
|
sirdancealot joined #marpa |
20:04 |
|
sivoais joined #marpa |
22:05 |
|
ronsavage joined #marpa |
22:15 |
ronsavage |
JK: Re http://irclog.perlgeek.de/marpa/2017-04-02#i_14363066. Yep, get it. Perhaps you should volunteer to re-write their formula using Marpa. ROFL. |
22:17 |
ronsavage |
Now, will you be putting a link to Patreon on your Marpa or personal pages? Should I add one to my Marpa page? |
23:26 |
|
idiosyncrat joined #marpa |
23:26 |
idiosyncrat |
ronsavage: re https://irclog.perlgeek.de/marpa/2017-04-02#i_14365436 |
23:26 |
idiosyncrat |
Yes, I'll be adding it to my Marpa page. |
23:26 |
idiosyncrat |
And yes, please add it to the semi-official Marpa page. |
23:27 |
|
VsyachePuz joined #marpa |
23:27 |
idiosyncrat |
ronsavage: Note I've promoted your page from "unofficial" to "semi-official". |
23:29 |
idiosyncrat |
lucs: I think best *NOT* to add it to the IRC topic line. |
23:30 |
lucs |
Okay |
23:30 |
idiosyncrat |
My model is that my Patreon contributors will not be the kind of "impulse" contributors most accounts get, but instead will be people who know a lot about Marpa, or who are using it. |
23:33 |
idiosyncrat |
So I assume that contributors will be people who've spent some time on the official or semi-official pages. |