Click here to Skip to main content
14,302,218 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: WSO CCC OTD 2019-05-08 - we have a winner! Pin
OriginalGriff7-May-19 22:27
protectorOriginalGriff7-May-19 22:27 
GeneralMini CCCs 88 Pin
Tim Deveaux7-May-19 16:57
memberTim Deveaux7-May-19 16:57 
GeneralRe: Mini CCCs 88 Pin
pkfox7-May-19 19:25
professionalpkfox7-May-19 19:25 
GeneralRe: Mini CCCs 88 - Done Pin
Tim Deveaux7-May-19 19:37
memberTim Deveaux7-May-19 19:37 
GeneralThe long road ahead Pin
honey the codewitch7-May-19 16:38
memberhoney the codewitch7-May-19 16:38 
JokeRe: The long road ahead Pin
the goat in your machine7-May-19 16:47
memberthe goat in your machine7-May-19 16:47 
GeneralRe: The long road ahead Pin
Super Lloyd7-May-19 16:56
memberSuper Lloyd7-May-19 16:56 
GeneralRe: The long road ahead Pin
honey the codewitch7-May-19 17:12
memberhoney the codewitch7-May-19 17:12 
Yes it can parse its own grammar. At least with LALR. The grammar isn't LL(1) currently, but that's not a limitation of the code, just that style of parser.

It's simple to use, and personally I think it's simpler than a lot of tools out there.

When I'm done it will be a whole lot simpler than anything I've used for certain. That's part of why I'm creating it.

The grammar format is EBNF and easy on the fingers, allowing complex rules using parentheses and optional (ebnf loop not yet supported - but maybe by the time i post it) - a lot of parser generators including Gold do not do that.

The parsers work at runtime, or can generate raw compiled or table driven (like most other offerings) parsers.

The runtime parsers means it's a bit easier to test your grammars since you don't have to compile first.

You can literally just do like:
var doc = EbnfDocument.Parse("some grammar");

var parser = doc.ToLalrParser(ParseContext.Create("string to parse"));

while(parser.Read()) {
// do stuff like you would with XmlReader
}


this supports pull parsers unlike many other offerings, and streaming, so it scales to huge documents.

Many do not. That always frustrated me.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: The long road ahead Pin
Super Lloyd7-May-19 17:22
memberSuper Lloyd7-May-19 17:22 
GeneralRe: The long road ahead Pin
honey the codewitch7-May-19 17:37
memberhoney the codewitch7-May-19 17:37 
GeneralCourse Recommendations Needed Pin
W Balboos7-May-19 9:02
mveW Balboos7-May-19 9:02 
GeneralRe: Course Recommendations Needed Pin
Eddy Vluggen7-May-19 9:21
mveEddy Vluggen7-May-19 9:21 
GeneralRe: Course Recommendations Needed Pin
OriginalGriff7-May-19 10:14
protectorOriginalGriff7-May-19 10:14 
GeneralRe: Course Recommendations Needed Pin
Nelek7-May-19 10:22
protectorNelek7-May-19 10:22 
GeneralRe: Course Recommendations Needed Pin
OriginalGriff7-May-19 11:12
protectorOriginalGriff7-May-19 11:12 
GeneralRe: Course Recommendations Needed Pin
Richard Deeming8-May-19 1:45
mveRichard Deeming8-May-19 1:45 
GeneralRe: Course Recommendations Needed Pin
honey the codewitch7-May-19 10:17
memberhoney the codewitch7-May-19 10:17 
GeneralRe: Course Recommendations Needed Pin
Rick York7-May-19 11:34
mveRick York7-May-19 11:34 
GeneralOh-Em-Gee Pin
W Balboos7-May-19 8:20
mveW Balboos7-May-19 8:20 
GeneralRe: Oh-Em-Gee Pin
MadMyche7-May-19 8:48
mveMadMyche7-May-19 8:48 
GeneralRe: Oh-Em-Gee Pin
Rick York7-May-19 10:15
mveRick York7-May-19 10:15 
GeneralRe: Oh-Em-Gee Pin
OriginalGriff7-May-19 10:16
protectorOriginalGriff7-May-19 10:16 
GeneralRe: Oh-Em-Gee ✨ Pin
Super Lloyd7-May-19 13:02
memberSuper Lloyd7-May-19 13:02 
GeneralRe: Oh-Em-Gee ✨ Pin
W Balboos8-May-19 1:15
mveW Balboos8-May-19 1:15 
GeneralRe: Oh-Em-Gee ✨ Pin
Super Lloyd8-May-19 3:51
memberSuper Lloyd8-May-19 3:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.