On Wed, Jan 15, 2014 at 5:28 AM, Paul Bennett paul.w.benn...@gmail.com wrote:
See the pre-print and slides here:
http://ashishagarwal.org/2011/10/04/pdf-type-theory/
Basically, the author describes a DSL for describing statistical
distributions, and programming techniques for turning those
On Wed, Feb 26, 2014 at 12:05 PM, Jeffrey Kegler
jeffreykeg...@jeffreykegler.com wrote:
Looking at it, I noticed there seems to be no test suite. Test suites are
worth the trouble.
Test suites for SGML parsing are are _hard_. I've tried getting one
going using vanilla Docbook, and I can't
Hi all,
I've started working here https://gist.github.com/PWBENNETT/8435996 on
a practical grammar for the language described here
http://ashishagarwal.org/2011/10/04/pdf-type-theory/
Trouble is, I don't (yet) understand the math in the above paper well
enough to know whether I'm actually on the
In the paper's if X then Y else Z, X seems to be a (bound) variable (not
sure if/how they convert it to boolean, perhaps by whether it has PDF or
not), while it is a comparison in the grammar.
The name comparison is just a notational thing for my convenience.
Oh, but yes. Yes, indeed.
Well, how about that? I was just going to SWIG the low-level C code,
and build a method-compatible API suite on top. I'll have to check out
this guy's work for sure.
On Sun, Nov 9, 2014 at 9:55 PM, Jeffrey Kegler
jeffreykeg...@jeffreykegler.com wrote:
[ Warning: family unfriendly repo name ]
On Tue, Nov 11, 2014 at 5:09 PM, Ron Savage r...@savage.net.au wrote:
https://en.wikipedia.org/wiki/OPML
Interesting, and I suspect JD will have things to say.
For me, it's just a sad reminder that my SGML implementation hasn't
been worked on in far too long.
I really need to get into a room
On Fri, Nov 20, 2015 at 4:33 PM, Jeffrey Kegler
wrote:
> Kind of nice the way that the colors distinguish G1 and L0 rules.
I haven't played with my TextMate / SublimeText highligher for Marpa
in a long time. I agree it's a nice touch. I'm looking at implementing
On Nov 22, 2015 4:10 PM, "Ron Savage" wrote:
>
> I always try to write the ::= rules top-down, and then list the ~ rules
alphabetically. This has turned out very well, for me at least.
>
Sounds sensible. In my (admittedly gargantuan) grammar linked above, do any
of you have
On Sat, Nov 21, 2015 at 3:17 PM, Paul Bennett <paul.w.benn...@gmail.com> wrote:
> https://gist.github.com/PWBENNETT/0e860d907fc59554f1ce
Ooh, I don't support comments with that. Working on it.
--
Paul
--
You received this message because you are subscribed to the Google Groups
&quo
On Sat, Nov 21, 2015 at 3:42 PM, Paul Bennett <paul.w.benn...@gmail.com> wrote:
> https://github.com/PWBENNETT/MarpaX-SGML/blob/master/Marpa.tmLanguage
And here it is in action:
https://drive.google.com/file/d/0B21ee_I1WzbwNFlVdXE5T2dMQnM/view?usp=sharing
Apologies for the many em
On Sat, Nov 21, 2015 at 3:35 PM, Paul Bennett <paul.w.benn...@gmail.com> wrote:
>
> Ooh, I don't support comments with that. Working on it.
>
Here, and in its semi-proper location instead of as a gist ...
https://github.com/PWBENNETT/MarpaX-SGML/blob/master/Marpa.tmLanguage
-
Work has finally begun in earnest on my log analyzer that I promised
to work on "one day" back when I started to get into Marpa .
There's not much to see yet, aside from one work-in-progress "input
config" file. Input config spec coming soon -- as soon as I've nailed
down what input specs need to
Any good examples of mixing grammars? In my "main" grammar I have :discard
~ whitespace (etc), but in the XPath spec whitespace seems to be
significant. I'm obviously behind the times ...
I guess I could use "..." around my XPath expressions and treat them as
blind strings handled by the
I'm writing a tinylang. One of the things the lang needs is a token
"XPath", which parses as per the w3c XPath spec, which is highly different
to the rest of the language spec. I plan to approach it by writing two
grammars. It seems the words for me to grep the pod for are "pause" and
"expect" if
:discard ~
whitespace ~ [\p{Separator}]+
S ::= H B J
H ::= 'Very' H
| 'Happy'
B ::= 'Birthday,'
J ::= 'Illustrious Idiosyncrat'
| 'Jeffrey'
--
P/PW/PWBENNETT
--
You received this message because you are subscribed to the Google Groups
"marpa parser" group.
To unsubscribe from this
On Oct 15, 2016 13:01, "Jeffrey Kegler"
wrote:
>
> Re #4, why not implement Perl regexes? A full syntax of Perl regexes is
gruesomely complex, and much of it is symptoms rather than features.
Somewhere deep within perldoc there's a howto on making your own \p{}
Good, so
to speak.
Thanks for your guidance,
--
Paul Bennett
P/PW/PWBENNETT
--
You received this message because you are subscribed to the Google Groups
"marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to marpa-parser+unsubscr...@go
17 matches
Mail list logo