LPeg

8 moment(s) that assert this concept — showing 1–8 of 8

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] luaworkshop[2] luaworkshop[3] luaworkshop[4] luaworkshop[5] luaworkshop[6] luaworkshop[7] luaworkshop[8] luaworkshop
showing 8 of 8 moments
luaworkshop · youtube · en
1Improving LPEG pattern compilation with just-in-time compilation could yield performance gains and is feasible across platforms, though its usefulness is uncertain.
“I think it' be interesting again it's a major effort to do that for several platforms to but it's much more easier than than for Lua that I think it would be interesting and I not sure how useful”
spoken · 358s · 2012-12-05
luaworkshop · youtube · en
2Text adept uses lpeg for syntax highlighting, a pattern matching library that enables efficient and precise recognition of code structures.
“text adept uses lpeg when roberto first announced the lpeg pattern matching library in 2006 i had an idea that it could be used for syntax highlighting but it wasn't until a post to the lua mailing list in 2007 by peter odding that i realized that it could actually be done”
spoken · 177s · 2012-12-03
luaworkshop · youtube · en
3Lpeg allows embedding one language's lexer within another by defining start and end rules and calling a single embedding function.
“the cool thing about using lpeg is that it's very easy to embed lectures within one another”
spoken · 336s · 2012-12-03
luaworkshop · youtube · en
4Lpeg is a powerful library for pattern matching in Lua that supports deterministic context-free grammars and can parse complex expressions like Lisp s-expressions.
“lpeg is a library for pattern matching and it's a very powerful library for pattern matching you can use just like regular stuff a z plus like any pattern matching stuff but you know you can also build grammars complete grammars you can pass it it has the formally you can parse any deterministic uh context-free grammar with lpx so it's really powerful you can parse mainly any kind of grammar but it's particularly useful for things that are a little more complex than just patterns”
spoken · 118s · 2012-12-04
luaworkshop · youtube · en
5Lpeg could serve as a differentiating feature for Lua by offering a unique balance of complexity and expressiveness.
“it's really offers a very good balance between complexity and expressiveness it's not very big and it may become a real differential for lua i think it's something that other languages do not have it since it it's really something very different”
spoken · 257s · 2012-12-04
luaworkshop · youtube · en
6Lpeg is considered redundant with Lua's current pattern matching implementation due to overlapping functionality.
“we have some problems exactly the main one is that it is redundant with the current implementation of pattern matching”
spoken · 336s · 2012-12-04
luaworkshop · youtube · en
7The current implementation of Lpeg is not mature, with unresolved issues and a complex, rapidly evolved codebase that is difficult to understand even for its original author.
“the implementation is not very mature i was talking now with some people that even i cannot understand the current implementation i mean he writing it so i i can understand it it's because it it grew very fast”
spoken · 589s · 2012-12-04
luaworkshop · youtube · en
8A mechanism to extend Lpeg with C-level primitives in seed would be beneficial but currently lacks such support and remains immature.
“one thing that would be very good it's some mechanism to extend lp with in c with primitives in seed and this is very immature”
spoken · 619s · 2012-12-04