New Language Setup - Block Comment defining
Posted: Sat Jan 05, 2013 12:40 am
Hello.
We are doing some amazing development work here with a new language called Relish that is pretty sweet to use despite annoying the <bleep> outta me occasionally. Getting Zeus set up for it was pretty much a slam-dunk after following your walk-through here:
http://www.zeusedit.com/zforum/viewtopic.php?t=176
However, one of the "features" of the language is Python-like block comments using """ to start and """ to end. (I will keep my own thoughts to myself about who thinks it's a good idea to use the same string to start and end comments, much less use a VERY commonly used character like ".) Okay, this is cool. Except that putting """ and """ in the Comment Details of the Keywords dialog just doesn't seem to work for me. So I looked up how it's done for Python. And it's not defined at ALL for Python so how is it being done? Is it something completely separate like some sort of docstring recognition?
One thing I did try that didn't work was try to define that the start string was ^""" and the end string """$ but of course that was a no-go because there's only 3 characters allowed and it doesn't use regex parsing anyways.
Also, what's the difference between Comment Details #1 and #2? Is it just so that there can be multiple comment strings defined for really complicated languages?
Thanks,
Alan
We are doing some amazing development work here with a new language called Relish that is pretty sweet to use despite annoying the <bleep> outta me occasionally. Getting Zeus set up for it was pretty much a slam-dunk after following your walk-through here:
http://www.zeusedit.com/zforum/viewtopic.php?t=176
However, one of the "features" of the language is Python-like block comments using """ to start and """ to end. (I will keep my own thoughts to myself about who thinks it's a good idea to use the same string to start and end comments, much less use a VERY commonly used character like ".) Okay, this is cool. Except that putting """ and """ in the Comment Details of the Keywords dialog just doesn't seem to work for me. So I looked up how it's done for Python. And it's not defined at ALL for Python so how is it being done? Is it something completely separate like some sort of docstring recognition?
One thing I did try that didn't work was try to define that the start string was ^""" and the end string """$ but of course that was a no-go because there's only 3 characters allowed and it doesn't use regex parsing anyways.
Also, what's the difference between Comment Details #1 and #2? Is it just so that there can be multiple comment strings defined for really complicated languages?
Thanks,
Alan