ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-mac
tcl-mac
[MACTCL] Tcl keyword coloring
by Philip Aker other posts by this author
Oct 15 2005 6:58PM messages near this date
[MACTCL] Launch Services wrapper--which part of API? | [MACTCL] More on icons
Hi all,

Apple DTS has very kindly accepted several bug/enhancement requests 
I've put in for Tcl and Xcode and asked for further comments on Tcl 
keyword coloring. I'd like to provide them with the best suggestions 
possible so that the coloring for Tcl goes from nil to excellent in a 
future Xcode release.

I've started on a script to list keywords output to Apple's plist 
format for the items that would be included in any OS release (i.e. 
those in /System/Library/Frameworks). If anyone has an opinion of what 
else should be included (or excluded) please be in touch. IMO, Apple 
tends to prefer pre-generated indices. I'm not sure of how much Xcode's 
text methods will be able to deal with the dynamic nature of Tcl. But 
seems to me it would be optimal if it could color package names, 
namespaces, and procs from the script currently being edited. If there 
are any suggestions for a very fast parser in that area, I'd be 
grateful for a link.

Also what about the built-in operators category? I don't know if Tcl 
has a built-in command or proc which will list all those. I'm currently 
using:

set OPERATORS "\[ \] \\\{ \\\} ( ) ! ~ + - += - -= <= >= & * 
<< > == \!= ^ | && || ?: *= /* &= |& <<= 
>>= ,";


Thanks!

Philip Aker
http://homepage.mac.com/philip_aker



Philip Aker
http://homepage.mac.com/philip_aker





-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Tcl-mac mailing list
Tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved