Introducing Cobra

Christopher Smith x at xman.org
Wed Jan 2 13:53:55 PST 2008


Chuck Esterbrook wrote:
> On Jan 2, 2008 1:21 PM, Christopher Smith <x at xman.org> wrote:
>   
>> Christopher Smith wrote:
>>     
>>> Chuck Esterbrook wrote:
>>>       
>>>> Cobra simply requires that you indent blocks with one tab or 4 spaces.
>>>>
>>>>         
>>> Wait, I thought you made a call on the tab-vs-spaces debate!
>>>
>>> Now I'm thoroughly disappointed.
>>>       
>> "Cobra may support space-based indentation in the future, if it is
>> determined that the TAB approach is too unfriendly to popular editors."
>>
>> Now I'm thoroughly confused.
>>     
>
> That quote is from http://cobralang.com/docs/hello-world/ and is out
> of date. Will fix now.
>
> (1) 1 indent = 1 tab or 4 spaces.
> (2) No mixing in the same line (compiler error).
>   
Make it "no mixing it in the same block" as well.

--Chris



More information about the KPLUG-LPSG mailing list