Introducing Cobra
David Brown
kplug at davidb.org
Wed Jan 2 00:46:28 PST 2008
On Wed, Jan 02, 2008 at 12:39:04AM -0800, Chuck Esterbrook wrote:
>On Jan 1, 2008 11:24 PM, David Brown <kplug at davidb.org> wrote:
>> On Tue, Jan 01, 2008 at 10:48:11PM -0800, Chuck Esterbrook wrote:
>>
>> >I'm interested to hear your impressions, comments and questions.
>>
>> First impression question. Did you have any parsing problems not using the
>> trailing ':' that python likes to use before indent blocks?
>
>No problems. Although it becomes required if you want to put a
>statement on the same line:
>
> branch state
> on State.On: print 'on'
> on State.Off: print 'off'
Is the ':' allowed? The vim python indent plugin seems to use the ':' to
determine when to indent. Teaching vim how to color and indent a new
language is always the frustrating part.
Dave
More information about the KPLUG-LPSG
mailing list