Hi
using Perl and C/C++ etc.. I think it would be very useful to recognize (grammatically) when a call to a function is done. I know this can be near impossible to solve (with regexps) in the Perl case, since there is no need and many people not use parenthesis after the name of the function. Anyway if you use them it should easily be easy to recognize as function call.
If function calls are grammatically recognized, then the power of TM will be increased with thinks like colouring, jump to the definition (only active when in a function call scope), etc.
Juan F.
On Apr 27, 2007, at 8:11 AM, Juan Falgueras wrote:
I know this can be near impossible to solve (with regexps) in the Perl case, since there is no need and many people not use parenthesis after the name of the function.
LOL. And Ruby, and Python, and Applescript... :) ----- Bill Tozier AIM: vaguery@mac.com; Skype: vaguery; Twitter: Vaguery thttp://williamtozier.com/slurry
"People who write obscurely are either unskilled in writing or up to mischief." -- Sir Peter Medawar
I know this can be near impossible to solve (with regexps) in the Perl case, since there is no need and many people not use parenthesis after the name of the function.
LOL. And Ruby, and Python, and Applescript... :)
Please strike Python from that list .. no need to spread disinformation ;-)
-steve
On Apr 27, 2007, at 9:08 AM, William Tozier wrote:
On Apr 27, 2007, at 8:11 AM, Juan Falgueras wrote:
I know this can be near impossible to solve (with regexps) in the Perl case, since there is no need and many people not use parenthesis after the name of the function.
LOL. And Ruby, and Python, and Applescript... :)
Bill Tozier
Check out Ruby Experimental in the Experimental bundle. I have a lot of function-calls scoped. It's impossible to scope them all, but there is plenty that can easily be done. thomas Aylott — subtleGradient — CrazyEgg — sixteenColors