List compiling parser not working as expected (help please)

2007-03-15 Thread Dustin Robert Kick
I want this code to simply put some strings into a list structure, but in my test output, the early strings contain all of the strings that are supposed to be separate nodes, as well as characters that the lexer was supposed to only return as tokens, or ignore. Will someone point out what

Help with a simple grammar I can't get to work, please

2006-09-26 Thread Dustin Robert Kick
I'm trying to make what I thought would be the simplest grammar I could specify work before moving on to more productive programs, sort of a hello bison. All it does is print some output with the input token passed to the grammar, but it works on every other line being input. Here is some

Help, searching for a yacc group, is there one?

2006-09-25 Thread Dustin Robert Kick
I know this is the help-bison group, but I can't find a yacc group for my problem, and I want to do the basics in yacc, before I move on to learning bison (mainly for the C++ support). Can anyone point me to the right group for yacc questions?... Would it be ok to post a yacc question here