Click here to Skip to main content
15,881,882 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralThis Definitely Falls into the Wonderful Camp Pin
David A. Gray9-Feb-20 11:14
David A. Gray9-Feb-20 11:14 
GeneralRe: This Definitely Falls into the Wonderful Camp Pin
Randor 10-Feb-20 12:33
professional Randor 10-Feb-20 12:33 
GeneralRe: This Definitely Falls into the Wonderful Camp Pin
David A. Gray11-Feb-20 10:33
David A. Gray11-Feb-20 10:33 
GeneralRe: This Definitely Falls into the Wonderful Camp Pin
Randor 11-Feb-20 12:40
professional Randor 11-Feb-20 12:40 
GeneralVisual Studio 2019 and the Weird, Wonderful Nonbreaking Space Pin
David A. Gray8-Feb-20 11:33
David A. Gray8-Feb-20 11:33 
GeneralRe: Visual Studio 2019 and the Weird, Wonderful Nonbreaking Space Pin
Super Lloyd29-Mar-20 13:50
Super Lloyd29-Mar-20 13:50 
GeneralRe: Visual Studio 2019 and the Weird, Wonderful Nonbreaking Space Pin
Greg Utas29-Mar-20 14:31
professionalGreg Utas29-Mar-20 14:31 
PraiseI might have cause to be grateful for javascript for once Pin
honey the codewitch6-Feb-20 22:01
mvahoney the codewitch6-Feb-20 22:01 
I typically do not like javascript. It's not personal, it's just the language's typing system I've always found difficult to use, and overall i find the language hard to debug.

But I've been wanting to find information on LL(k) parse table generation that I could digest for years, and some good folx produced an implementation in javascript which doesn't seem to use anything too weird or JS specific so I'm porting it to C#.

Sure I have to debug it in chrome to fill in some of the details but they made it easy to port, and I imagine they planned it that way.

What's fascinating to me about it too, is they're using a parser and lexer to parse the input grammar that looks like it was generated using a port of some common C based tools to javascript.

what a weird and cool little program.

LL(k) Parsing Table Generator[^]
Real programmers use butterflies

GeneralRe: I might have cause to be grateful for javascript for once Pin
GuyThiebaut11-Feb-20 21:55
professionalGuyThiebaut11-Feb-20 21:55 
GeneralRe: I might have cause to be grateful for javascript for once Pin
honey the codewitch26-Feb-20 9:51
mvahoney the codewitch26-Feb-20 9:51 
GeneralIncomprehensible C++ error messages PinPopular
Alan Balkany29-Jan-20 10:19
Alan Balkany29-Jan-20 10:19 
GeneralRe: Incomprehensible C++ error messages PinPopular
RugbyLeague29-Jan-20 21:16
RugbyLeague29-Jan-20 21:16 
GeneralRe: Incomprehensible C++ error messages Pin
honey the codewitch29-Mar-20 15:02
mvahoney the codewitch29-Mar-20 15:02 
GeneralRe: Incomprehensible C++ error messages Pin
Greg Utas30-Jan-20 14:32
professionalGreg Utas30-Jan-20 14:32 
GeneralRe: Incomprehensible C++ error messages PinPopular
Member 91670572-Feb-20 22:45
Member 91670572-Feb-20 22:45 
RantRe: Incomprehensible C++ error messages Pin
Gary Wheeler3-Feb-20 2:53
Gary Wheeler3-Feb-20 2:53 
GeneralRe: Incomprehensible C++ error messages Pin
Bob10003-Feb-20 7:06
professionalBob10003-Feb-20 7:06 
GeneralRe: Incomprehensible C++ error messages Pin
SeattleC++3-Feb-20 4:47
SeattleC++3-Feb-20 4:47 
GeneralRe: Incomprehensible C++ error messages Pin
Alan Balkany4-Feb-20 10:50
Alan Balkany4-Feb-20 10:50 
GeneralRe: Incomprehensible C++ error messages Pin
SeattleC++4-Feb-20 12:02
SeattleC++4-Feb-20 12:02 
GeneralRe: Incomprehensible C++ error messages Pin
Alan Balkany4-Feb-20 12:09
Alan Balkany4-Feb-20 12:09 
GeneralRe: Incomprehensible C++ error messages Pin
Dan Sutton3-Feb-20 5:54
Dan Sutton3-Feb-20 5:54 
GeneralRe: Incomprehensible C++ error messages Pin
John R. Shaw27-Feb-20 18:30
John R. Shaw27-Feb-20 18:30 
GeneralRe: Incomprehensible C++ error messages Pin
Stefan_Lang9-Mar-20 0:06
Stefan_Lang9-Mar-20 0:06 
GeneralRe: Incomprehensible C++ error messages Pin
John R. Shaw13-Mar-20 4:21
John R. Shaw13-Mar-20 4:21 

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.