Click here to Skip to main content
15,888,286 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: Ruminating on code generation Pin
Jacquers27-Aug-22 6:01
Jacquers27-Aug-22 6:01 
GeneralRe: Ruminating on code generation Pin
David O'Neil27-Aug-22 6:08
professionalDavid O'Neil27-Aug-22 6:08 
GeneralRe: Ruminating on code generation Pin
Gerry Schmitz27-Aug-22 7:40
mveGerry Schmitz27-Aug-22 7:40 
QuestionRe: Ruminating on code generation Pin
Eddy Vluggen27-Aug-22 7:53
professionalEddy Vluggen27-Aug-22 7:53 
AnswerRe: Ruminating on code generation Pin
honey the codewitch27-Aug-22 16:20
mvahoney the codewitch27-Aug-22 16:20 
GeneralRe: Ruminating on code generation Pin
jmaida27-Aug-22 17:01
jmaida27-Aug-22 17:01 
AnswerRe: Ruminating on code generation Pin
Eddy Vluggen30-Aug-22 1:36
professionalEddy Vluggen30-Aug-22 1:36 
GeneralRe: Ruminating on code generation Pin
jmaida27-Aug-22 16:02
jmaida27-Aug-22 16:02 
Don't give up the ship.
Code generation is not restricted to generating actual code. (I use C ansi c90) Well designed libraries with well designed interfacing are as good as many code generators. I designed a pseudo-human language command line parser that used a giant table lookup process connected with the appropriate code templates to match. The key was the tree transversal database library used to glue it together. I designed it make the code generation process work for me which in the end made it easier for others to mimic and grow the process. I don't fully understand you work, but I am not a C++ guy so that makes it hard. Stay with it. Love your zeal.

My lookup table example
2 = string 1 = number 5 = quoted string
Parsed
Syntax entry-point, "help table entry"
"ROT", ROTATE, "ROTATE - interactive rotate currently edited part",
"ROT_2", ROTATE_2, "ROTATE part - show euler angles(deg) for part",
"ROT_2_1_1_1", ROTATE_2_1_1_1, "ROTATE part x y z - apply euler angles(deg) to part",
"ROT_2_X_1", ROTATE_2_X_1, "ROTATE part axis deg - rotate part on X Y or Z",
"ROT_2_Y_1", ROTATE_2_Y_1, "ROTATE part axis deg - rotate part on X Y or Z",
"ROT_2_Z_1", ROTATE_2_Z_1, "ROTATE part axis deg - rotate part on X Y or Z",
"ROT_X_1", ROTATE_X_1, "ROTATE X angle - rotate(deg) default part on X axis",
"ROT_Y_1", ROTATE_Y_1, "ROTATE Y angle - rotate(deg) default part on Y axis",
"ROT_Z_1", ROTATE_Z_1, "ROTATE Z angle - rotate(deg) default part on Z axis",
"ROT_SCR_5", ROTATE_SCRIPT, "ROTATE SCRIPT \"file\" - create rotate command file",
"A little time, a little trouble, your better day"
Badfinger


modified 27-Aug-22 23:31pm.

GeneralRe: Ruminating on code generation Pin
Ryan Peden29-Aug-22 3:01
professionalRyan Peden29-Aug-22 3:01 
GeneralRe: Ruminating on code generation Pin
MSBassSinger29-Aug-22 3:18
professionalMSBassSinger29-Aug-22 3:18 
GeneralRe: Ruminating on code generation Pin
Gerry Schmitz29-Aug-22 8:24
mveGerry Schmitz29-Aug-22 8:24 
GeneralRe: Ruminating on code generation Pin
MSBassSinger29-Aug-22 10:11
professionalMSBassSinger29-Aug-22 10:11 
PraiseThumbs up for this tech support Pin
Sander Rossel27-Aug-22 0:31
professionalSander Rossel27-Aug-22 0:31 
GeneralRe: Thumbs up for this tech support Pin
honey the codewitch27-Aug-22 1:34
mvahoney the codewitch27-Aug-22 1:34 
GeneralRe: Thumbs up for this tech support Pin
BernardIE531727-Aug-22 6:56
BernardIE531727-Aug-22 6:56 
GeneralRe: Thumbs up for this tech support Pin
Ryan Peden28-Aug-22 15:13
professionalRyan Peden28-Aug-22 15:13 
GeneralLunar landing pictures digitally enhanced Pin
OriginalGriff26-Aug-22 18:19
mveOriginalGriff26-Aug-22 18:19 
GeneralRe: Lunar landing pictures digitally enhanced Pin
Craig Robbins27-Aug-22 2:25
Craig Robbins27-Aug-22 2:25 
GeneralRe: Lunar landing pictures digitally enhanced Pin
Mircea Neacsu27-Aug-22 4:09
Mircea Neacsu27-Aug-22 4:09 
GeneralRe: Lunar landing pictures digitally enhanced Pin
mngerhold28-Aug-22 21:34
mngerhold28-Aug-22 21:34 
JokeRe: Lunar landing pictures digitally enhanced Pin
Richard Deeming29-Aug-22 22:15
mveRichard Deeming29-Aug-22 22:15 
GeneralWordle 434 Pin
StarNamer@work26-Aug-22 14:19
professionalStarNamer@work26-Aug-22 14:19 
GeneralRe: Wordle 434 Pin
jmaida26-Aug-22 16:01
jmaida26-Aug-22 16:01 
GeneralRe: Wordle 434 Pin
Vivi Chellappa26-Aug-22 16:20
professionalVivi Chellappa26-Aug-22 16:20 
GeneralRe: Wordle 434 Pin
OriginalGriff26-Aug-22 18:08
mveOriginalGriff26-Aug-22 18:08 

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.