Click here to Skip to main content
14,333,606 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.
 
GeneralQuestion for Honey the Code Witch Pin
Richard Andrew x6424-Aug-19 1:35
professionalRichard Andrew x6424-Aug-19 1:35 
GeneralRe: Question for Honey the Code Witch Pin
honey the codewitch24-Aug-19 2:09
memberhoney the codewitch24-Aug-19 2:09 
GeneralRe: Question for Honey the Code Witch Pin
Richard Andrew x6424-Aug-19 2:15
professionalRichard Andrew x6424-Aug-19 2:15 
GeneralRe: Question for Honey the Code Witch Pin
honey the codewitch24-Aug-19 2:18
memberhoney the codewitch24-Aug-19 2:18 
GeneralRe: Question for Honey the Code Witch Pin
Richard Andrew x6424-Aug-19 2:46
professionalRichard Andrew x6424-Aug-19 2:46 
GeneralRe: Question for Honey the Code Witch Pin
honey the codewitch24-Aug-19 3:04
memberhoney the codewitch24-Aug-19 3:04 
GeneralRe: Question for Honey the Code Witch Pin
Richard Andrew x6424-Aug-19 3:50
professionalRichard Andrew x6424-Aug-19 3:50 
GeneralRe: Question for Honey the Code Witch Pin
honey the codewitch24-Aug-19 3:54
memberhoney the codewitch24-Aug-19 3:54 
well that's a variant. I mean, things like XBNF are a lot friendlier but the computer can't do much with them directly.

how about if i pretty it up some and put it in xbnf?

expr= expr "+" term | term;
term= term "*" factor | factor;
factor= "(" expr ")" | int;


it works using substitution. Every time it finds either "term" or "expr" "+" "term" it replaces that with "expr"

(note it's cyclical here, that makes a loop)
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: Question for Honey the Code Witch Pin
Richard Andrew x6424-Aug-19 4:01
professionalRichard Andrew x6424-Aug-19 4:01 
GeneralRe: Question for Honey the Code Witch Pin
honey the codewitch24-Aug-19 4:10
memberhoney the codewitch24-Aug-19 4:10 
GeneralRe: Question for Honey the Code Witch Pin
David Crow24-Aug-19 4:09
memberDavid Crow24-Aug-19 4:09 
GeneralRe: Question for Honey the Code Witch Pin
Richard Andrew x6424-Aug-19 4:12
professionalRichard Andrew x6424-Aug-19 4:12 
GeneralRe: Question for Honey the Code Witch Pin
honey the codewitch24-Aug-19 4:50
memberhoney the codewitch24-Aug-19 4:50 
GeneralRe: Question for Honey the Code Witch Pin
Jacquers24-Aug-19 5:33
memberJacquers24-Aug-19 5:33 
Generalewww i changed my code so that it would work with VB Pin
honey the codewitch23-Aug-19 16:33
memberhoney the codewitch23-Aug-19 16:33 
GeneralRe: ewww i changed my code so that it would work with VB Pin
dandy7224-Aug-19 4:03
memberdandy7224-Aug-19 4:03 
GeneralRe: ewww i changed my code so that it would work with VB Pin
honey the codewitch24-Aug-19 4:06
memberhoney the codewitch24-Aug-19 4:06 
GeneralRe: ewww i changed my code so that it would work with VB Pin
dandy7224-Aug-19 4:09
memberdandy7224-Aug-19 4:09 
Generalhaving perfect metadata is funny, part 3402 Pin
honey the codewitch23-Aug-19 13:34
memberhoney the codewitch23-Aug-19 13:34 
GeneralRe: having perfect metadata is funny, part 3402 Pin
PIEBALDconsult23-Aug-19 15:39
protectorPIEBALDconsult23-Aug-19 15:39 
GeneralRe: having perfect metadata is funny, part 3402 Pin
OriginalGriff23-Aug-19 19:35
protectorOriginalGriff23-Aug-19 19:35 
GeneralRe: having perfect metadata is funny, part 3402 Pin
honey the codewitch24-Aug-19 0:24
memberhoney the codewitch24-Aug-19 0:24 
GeneralOy Chris! Pin
Nagy Vilmos23-Aug-19 5:35
professionalNagy Vilmos23-Aug-19 5:35 
GeneralRe: Oy Chris! PinPopular
Chris Maunder23-Aug-19 6:16
adminChris Maunder23-Aug-19 6:16 
GeneralRe: Oy Chris! Pin
Dr.Walt Fair, PE23-Aug-19 9:51
professionalDr.Walt Fair, PE23-Aug-19 9: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.