Hi Slava,

Tonight after work I'd like to experiment with using the # char for 
comments instead of !. Is this just a case of modifying syntax.factor or 
would it be more involved than that?

(obviously I'd also need to global replace all the '!' comments)

Cheers,

Phil

Slava Pestov wrote:
> Hi,
> 
> It is actually a really stupid reason. Originally Factor was written  
> in Java. And before it had a real parser, I was using Java's  
> StreamTokenizer class, which is really limited and crap. It hard- 
> codes the behavior of \ to be an escape. And EOL comments could only  
> start with a single character. So I chose !, for no real reason.
> 
> Slava
> 
> On 12-Dec-07, at 3:06 PM, Phil Dawes wrote:
> 
>> Just wondering: from where does using '!' to denote comments come?
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to