This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Language translation proposal 1.4


Ian Bicking <ianb@colorstudy.com> writes:

> Should load also potentially take a :language argument?  Maybe this is
> getting to be too many ways...

seems like a good idea to me, FWIW.

> > Normally, repl commands have the syntax
> > 
> >   ,COMMAND ARG1 ...
> > 
> > Input starting with arbitrary amount of whitespace + a comma thus
> > works as an escape syntax.
> > 
> > This syntax is probably compatible with all languages.  (Note that we
> > don't need to activate the lexer of the language until we've checked
> > if the first non-whitespace char is a comma.)
> 
> In Python, at least, it is important that whitespace at the beginning
> of the line is preserved.  So it would be fine to check if the first
> non-whitespace character is a comma, but the whitespace needs to be
> preserved.

perhaps we could mandate that there be _no_ whitespace before the
comma for it to be special?

-- 
"Tools that are no good require more skill."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]