On 3/11/12, Philippe Sigaud wrote:
> Parsing Expression Grammar (PEG) generator in D.
Slightly off-topic and not directly aimed at Philippe, but I'm
curious, how would one use a parser like Pegged for syntax
highlighting? I know my way around painting and using style bits for
coloring text (e.g.
On Mon, Mar 12, 2012 at 13:43, bls wrote:
> Just WOW!
Thanks! Don't be too excited, it's still quite slow as a parser. But
that is a fun project :)
> Nice to have on your WIKI would be a EBNF to PEG sheet.
>
> Wirth EBNF Pegged
> A = BC. A <- B C
> A = B|C. A <- C / C
> A =
On Tue, Mar 13, 2012 at 17:17, Dmitry Olshansky wrote:
> PEG defines order of alternatives, that is pretty much like a top-down
> recursive descent parser would parse it. Alternatives are tried from left to
> right, if first one fails, it tries next and so on.
Yes.
> In an example I give B is a
On Tue, Mar 13, 2012 at 18:05, Alex Rønne Petersen wrote:
>>> lowerCase <- [a-z]
>>> upperCase <- [A-Z]
>>> Identifier <- (lowerCase / upperCase) (lowerCase / upperCase)*
>>
>>
>> Why not:
>> Identifier <- [a-zA-Z]+
>
>
> That was an illustrative example from the Pegged docs. But yeah, you should
Again a couple of fixes & improvements [v0.3.4]
- [DDoc launcher] Extended functionality (now delegates & array
literals are handled, too)
- [Refactoring] Fixed most of the renaming & reference
finding&highlighting bugs
- [Settings] Enabled relative include paths for projects (will
take the pr
I am impressed. That's a really nice showcase for the D compile
time features.
Can I use PEG to parse languages like python and haskell where
indention matters without preprocessing?
Will you make it work with input ranges of dchar? So that I can
easily plug in some preprocessing steps?
Am Tue, 13 Mar 2012 00:07:01 +0100
schrieb "David Nadlinger" :
> The extended review period for std.log has ended [1], and Jose,
> the author of the proposed module, has requested some extra time
> to incorporate the suggestions made during the review without
> ending up with a butchered design
On Mar 13, 2012, at 6:54 AM, Peter Alexander wrote:
> On Wednesday, 7 March 2012 at 18:59:36 UTC, Alex Rønne Petersen wrote:
>> https://github.com/alexrp/st2-d
>>
>> I plan to have it merged into ST2 proper if I can somehow get in touch with
>> the dev(s)...
>
> Great! I've been using ST2 recen
On 13-03-2012 17:17, Dmitry Olshansky wrote:
On 12.03.2012 17:45, bls wrote:
On 03/13/2012 04:28 AM, Dmitry Olshansky wrote:
On 12.03.2012 16:43, bls wrote:
On 03/10/2012 03:28 PM, Philippe Sigaud wrote:
Hello,
I created a new Github project, Pegged, a Parsing Expression Grammar
(PEG) genera
On 12.03.2012 17:45, bls wrote:
On 03/13/2012 04:28 AM, Dmitry Olshansky wrote:
On 12.03.2012 16:43, bls wrote:
On 03/10/2012 03:28 PM, Philippe Sigaud wrote:
Hello,
I created a new Github project, Pegged, a Parsing Expression Grammar
(PEG) generator in D.
https://github.com/PhilippeSigaud/P
On Wednesday, 7 March 2012 at 18:59:36 UTC, Alex Rønne Petersen
wrote:
https://github.com/alexrp/st2-d
I plan to have it merged into ST2 proper if I can somehow get
in touch with the dev(s)...
Great! I've been using ST2 recently. Truly amazing editor.
On 12-03-2012 13:43, bls wrote:
On 03/10/2012 03:28 PM, Philippe Sigaud wrote:
Hello,
I created a new Github project, Pegged, a Parsing Expression Grammar
(PEG) generator in D.
https://github.com/PhilippeSigaud/Pegged
docs: https://github.com/PhilippeSigaud/Pegged/wiki
Just WOW!
Nice to ha
On 03/13/2012 04:28 AM, Dmitry Olshansky wrote:
On 12.03.2012 16:43, bls wrote:
On 03/10/2012 03:28 PM, Philippe Sigaud wrote:
Hello,
I created a new Github project, Pegged, a Parsing Expression Grammar
(PEG) generator in D.
https://github.com/PhilippeSigaud/Pegged
docs: https://github.com/P
On 12.03.2012 16:43, bls wrote:
On 03/10/2012 03:28 PM, Philippe Sigaud wrote:
Hello,
I created a new Github project, Pegged, a Parsing Expression Grammar
(PEG) generator in D.
https://github.com/PhilippeSigaud/Pegged
docs: https://github.com/PhilippeSigaud/Pegged/wiki
Just WOW!
Nice to ha
On 03/10/2012 03:28 PM, Philippe Sigaud wrote:
Hello,
I created a new Github project, Pegged, a Parsing Expression Grammar
(PEG) generator in D.
https://github.com/PhilippeSigaud/Pegged
docs: https://github.com/PhilippeSigaud/Pegged/wiki
Just WOW!
Nice to have on your WIKI would be a EBNF t
On Wed, 07 Mar 2012 19:59:36 +0100
Alex Rønne Petersen wrote:
> https://github.com/alexrp/st2-d
>
> I plan to have it merged into ST2 proper if I can somehow get in
> touch with the dev(s)...
Thank you. I'm evaluating ST2 and believe that soon we'll buy a license,
so having decent support for D
16 matches
Mail list logo