Click here to Skip to main content
15,904,024 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: How much code is too much? Pin
Jon McKee9-Jan-20 23:18
professionalJon McKee9-Jan-20 23:18 
GeneralRe: How much code is too much? Pin
honey the codewitch9-Jan-20 23:22
mvahoney the codewitch9-Jan-20 23:22 
GeneralRe: How much code is too much? Pin
Jon McKee9-Jan-20 23:35
professionalJon McKee9-Jan-20 23:35 
GeneralRe: How much code is too much? Pin
honey the codewitch10-Jan-20 2:57
mvahoney the codewitch10-Jan-20 2:57 
GeneralRe: How much code is too much? Pin
Jon McKee10-Jan-20 1:00
professionalJon McKee10-Jan-20 1:00 
GeneralRe: How much code is too much? Pin
honey the codewitch10-Jan-20 2:55
mvahoney the codewitch10-Jan-20 2:55 
AnswerRe: How much code is too much? Pin
Daniel Pfeffer9-Jan-20 21:33
professionalDaniel Pfeffer9-Jan-20 21:33 
GeneralRe: How much code is too much? Pin
honey the codewitch9-Jan-20 21:39
mvahoney the codewitch9-Jan-20 21:39 
My hand written parser is 1/10th the size of the generated one, so hopefully there's room for improvement.

For now, I'm rewriting the handwritten parser, but I'm using Parsley to help me do it, using the /noparser option so I get its tokenizers from its grammars but it doesn't generated the parser for me.

I'm using the grammars as a guide to do it again, this time much more correctly and with some other foundational improvements.

I expect the code size to be within spitting distance of 100K, so that will cut my CodeDOM Go Kit! distro size down compared to using the generated code.

Later I'm going to go back and experiment with code synthesis in parsing, and see if i can't replace things like standard LL "loops" with actual while loops and such.

That should make it smaller. I just want to trim a lot of this boilerplate out of it, but it's not straightforward to do, especially in such a way as to keep the code readable.
hack everything.

GeneralRe: How much code is too much? Pin
jsc429-Jan-20 23:29
professionaljsc429-Jan-20 23:29 
GeneralRe: How much code is too much? Pin
musefan9-Jan-20 23:59
musefan9-Jan-20 23:59 
GeneralRe: How much code is too much? Pin
jsc4210-Jan-20 6:46
professionaljsc4210-Jan-20 6:46 
GeneralRe: How much code is too much? Pin
musefan12-Jan-20 21:35
musefan12-Jan-20 21:35 
QuestionWindows 10 activation woes (after hardware upgrade) Pin
Maximilien9-Jan-20 11:59
Maximilien9-Jan-20 11:59 
AnswerRe: Windows 10 activation woes (after hardware upgrade) Pin
PIEBALDconsult9-Jan-20 12:23
mvePIEBALDconsult9-Jan-20 12:23 
AnswerRe: Windows 10 activation woes (after hardware upgrade) Pin
Ravi Bhavnani9-Jan-20 12:53
professionalRavi Bhavnani9-Jan-20 12:53 
AnswerRe: Windows 10 activation woes (after hardware upgrade) Pin
Ron Anders9-Jan-20 15:43
Ron Anders9-Jan-20 15:43 
AnswerRe: Windows 10 activation woes (after hardware upgrade) Pin
OriginalGriff9-Jan-20 19:50
mveOriginalGriff9-Jan-20 19:50 
AnswerRe: Windows 10 activation woes (after hardware upgrade) Pin
Jacquers9-Jan-20 20:05
Jacquers9-Jan-20 20:05 
AnswerRe: Windows 10 activation woes (after hardware upgrade) Pin
OriginalGriff9-Jan-20 20:17
mveOriginalGriff9-Jan-20 20:17 
General30 days of winning Pin
honey the codewitch9-Jan-20 10:57
mvahoney the codewitch9-Jan-20 10:57 
GeneralRe: 30 days of winning Pin
Super Lloyd9-Jan-20 11:51
Super Lloyd9-Jan-20 11:51 
GeneralRe: 30 days of winning Pin
Johnny J.9-Jan-20 20:51
professionalJohnny J.9-Jan-20 20:51 
GeneralRe: 30 days of winning Pin
jsc429-Jan-20 23:59
professionaljsc429-Jan-20 23:59 
GeneralRe: 30 days of winning Pin
Johnny J.10-Jan-20 0:16
professionalJohnny J.10-Jan-20 0:16 
GeneralRe: 30 days of winning Pin
PIEBALDconsult9-Jan-20 14:32
mvePIEBALDconsult9-Jan-20 14:32 

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.