Bradley M . Kuhn <[EMAIL PROTECTED]> writes: >Nicholas Clark <[EMAIL PROTECTED]> wrote: > >> Something I though of: >> If you're trying to write an interactive perl inputer - either a perl shell >> or just the command prompt on the debugger it would be useful if you >> could tell the parser that the chunk of source you're giving it may be >> incomplete. > >I really like this idea, although I am unsure of how we might implement it. >I don't recall any of the compiler texts I have read over the years talking >about formal methods for writing such a "partial programs are acceptable" >parser. > > >Lisp-like languages handle this, but s-expressions are so trivial to parse >that it's no help to simply "follow" their example. So does Tcl - but it is also trivial to "parse" - all its complexity is in the semantics of interpolation. -- Nick Ing-Simmons <[EMAIL PROTECTED]> Via, but not speaking for: Texas Instruments Ltd.
- Re: Now, to try again... Nathan Torkington
- Re: Now, to try again... Nicholas Clark
- Re: Now, to try again... Bart Lateur
- Re: Now, to try again... David Grove
- Re: Now, to try again... Nicholas Clark
- Re: Now, to try again... David Grove
- Re: Now, to try again... Dan Sugalski
- Re: Now, to try again... Chaim Frenkel
- A parser that can handle partial programs (was Re: ... Bradley M. Kuhn
- Re: A parser that can handle partial programs (... Dan Sugalski
- input to the parser (was Re: Now, to try again.... Nick Ing-Simmons
- input to the parser (was Re: Now, to try again...) Bradley M. Kuhn
- Re: input to the parser (was Re: Now, to try ag... Dan Sugalski
- Re: Now, to try again... David Grove
- Re: Now, to try again... Simon Cozens
- Re: Now, to try again... David Grove
- Re: Now, to try again... Andy Dougherty
- Re: Now, to try again... Simon Cozens
- Re: Now, to try again... Sam Tregar
- Re: Now, to try again... David Grove
- Re: Now, to try again... Sam Tregar