Re: Interactive continuation prompting

2014-06-18 Thread Chris verBurg
Hey Grant, I don't know the internals of how python and shells do it, but a project I worked on a long time ago did it a completely different way. They implemented two grammars: one was the real language grammar (used for reading in scripts from files), and the second would parse just an isolated

Interactive continuation prompting

2014-06-18 Thread Grant McKenzie
Hello, I have been going through the very nice "A Complete C++ Example" in the bison manual and extending it to implement a trivial language. I have a question about the parsing driver design on this page: http://www.gnu.org/software/bison/manual/html_node/Calc_002b_002b-Parsing-Driver.html#C