Click here to Skip to main content
15,443,281 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: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
User 1106097917-Sep-20 8:27
MemberUser 1106097917-Sep-20 8:27 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
rnbergren17-Sep-20 10:48
Memberrnbergren17-Sep-20 10:48 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Bogatitus19-Sep-20 8:42
MemberBogatitus19-Sep-20 8:42 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
rnbergren19-Sep-20 11:08
Memberrnbergren19-Sep-20 11:08 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Gerry Schmitz17-Sep-20 11:31
mveGerry Schmitz17-Sep-20 11:31 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Daniel Pfeffer17-Sep-20 11:38
professionalDaniel Pfeffer17-Sep-20 11:38 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Gary R. Wheeler17-Sep-20 15:22
MemberGary R. Wheeler17-Sep-20 15:22 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
honey the codewitch17-Sep-20 15:33
mvahoney the codewitch17-Sep-20 15:33 
I'm not confused by it. It's actually fairly easy for me to understand, considering what it does.

And what it does is complicated, any way you slice it. For starters, it relies on a LALR algorithm which is confusing no matter how you break it down. LALR is just complicated.

Furthermore on top of that, I have a non-deterministic worker that finds all possible trees for a parse based on an ambiguous grammar. Again, it's just complicated, but it can be simplified a bit, unlike LALR, and I had simplified it

Finally, it has to take all of this and generate code in most major .NET languages (usually C# or VB.NET)

It's just a complicated project. I avoid "clever" as well when I don't have to, but some of the features my generator has are implemented cleverly because the alternative is far larger in terms of code, and slower to execute.

Edit: Just so you know I'm not blowing smoke, here's an article on what it does: GLR Parsing in C#: How to Use The Most Powerful Parsing Algorithm Known[^]
Real programmers use butterflies

GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Gary R. Wheeler17-Sep-20 17:06
MemberGary R. Wheeler17-Sep-20 17:06 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
honey the codewitch17-Sep-20 18:31
mvahoney the codewitch17-Sep-20 18:31 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Gary R. Wheeler20-Sep-20 7:30
MemberGary R. Wheeler20-Sep-20 7:30 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
honey the codewitch20-Sep-20 8:12
mvahoney the codewitch20-Sep-20 8:12 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Rage17-Sep-20 19:56
professionalRage17-Sep-20 19:56 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
honey the codewitch17-Sep-20 20:06
mvahoney the codewitch17-Sep-20 20:06 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Peter_in_278017-Sep-20 22:17
professionalPeter_in_278017-Sep-20 22:17 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
honey the codewitch18-Sep-20 1:32
mvahoney the codewitch18-Sep-20 1:32 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Member 1368006017-Sep-20 22:05
MemberMember 1368006017-Sep-20 22:05 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
CPallini17-Sep-20 22:53
mveCPallini17-Sep-20 22:53 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Keefer S18-Sep-20 2:02
MemberKeefer S18-Sep-20 2:02 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
MKJCP18-Sep-20 2:50
MemberMKJCP18-Sep-20 2:50 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Mark Starr18-Sep-20 3:28
professionalMark Starr18-Sep-20 3:28 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Stefan_Lang18-Sep-20 4:05
mveStefan_Lang18-Sep-20 4:05 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
honey the codewitch18-Sep-20 6:35
mvahoney the codewitch18-Sep-20 6:35 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
Matt McGuire18-Sep-20 5:19
professionalMatt McGuire18-Sep-20 5:19 
GeneralRe: Isn't it fun when you write something and look back months later and wonder how you did it? Pin
JP Reyes18-Sep-20 7:09
MemberJP Reyes18-Sep-20 7:09 

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.


Straw Poll

What topics would you like to learn more about?
Contributed by Marc Clifton.
  Results   358 votes