Click here to Skip to main content
14,299,849 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: Oh - the temptation to cheat! Pin
RickZeeland24-Aug-19 2:42
mveRickZeeland24-Aug-19 2:42 
GeneralRe: Oh - the temptation to cheat! Pin
Chris C-B24-Aug-19 2:45
memberChris C-B24-Aug-19 2:45 
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 
lex and YACC are hard.

if i gave you a simple ruleset that's basically really stripped BNF, you might get it, eh?


How about
E -> E + T | T
T -> T * F | F
F -> ( E ) | int


or longhand

E -> E + T
E -> T
T -> T * F
T -> F
F -> ( E )
F -> int


This represents a very simple expression grammar with positive ints, +, * and () supported
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 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 
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 

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.