Re: Now, to try again... by Nathan Torkington- December 17, 2000 Nicholas Clark writes:> Would it be sane to get the parser to return suitable information on the> source to let a syntax analyser (such as a highlighting editor) know that> character positions 5123 to 5146 are a qq() string (So it can change the> font or the colour or whatever)I think the problems with this that were raised in the past are: parsing partial source does this mean that the parser has to reparse the whole sourcefile every time you type a characterI think the better..http://www.nntp.perl.org/group/perl.perl6.internals.api.parser/2000/12/msg179.html Re: Now, to try again... by Nathan Torkington- December 17, 2000 Andy Dougherty writes:> Now matter how we slice it, it&39;s going to be very hard for the first> person to twist perl6 to parse something that is both complex and very> different from Perl6. And I&39;m unconvinced that this difficulty ought to> hold up the entire process. It would be quite ironic if perl6 never gets> off the ground because we can&39;t figure out how to make &39;use Java;&39; easy.> > "Little languages", on the other hand, are a somewhat...http://www.nntp.perl.org/group/perl.perl6.internals.api.parser/2000/12/msg178.html Re: Now, to try again... by Sam Tregar- December 17, 2000 On Sun, 17 Dec 2000, Dan Sugalski wrote:> For my part, at least, I&39;ve been thinking of something either LISP-ish> or very simple parameter settingchecking (like stuff in, say, your> average .rc file with a little control flow thrown in) when it&39;s> brought up. Occasionally things FORTHish, but only when I really> desperately need sleep. :)Sounds like Scheme and TCL to me. Ok, it&39;s a bit of stretch from .rc toTCL but not too far!> It is sort of a language design...http://www.nntp.perl.org/group/perl.perl6.internals.api.parser/2000/12/msg177.html Re: A parser that can handle partial programs (was Re: Now, totry again...) by Dan Sugalski- December 17, 2000 At 12:41 PM 121700 -0500, Bradley M. Kuhn wrote:>Nicholas Clark <nickccl4.org> wrote:>> > Something I though of:> > If you&39;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&39;re giving it may be> > incomplete.>>I really like this idea, although I am unsure of how we might implement it.>I don&39;t...http://www.nntp.perl.org/group/perl.perl6.internals.api.parser/2000/12/msg176.html |