Introducing Cobra

Chuck Esterbrook chuck.esterbrook at gmail.com
Wed Jan 2 13:52:28 PST 2008


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).

-Chuck



More information about the KPLUG-LPSG mailing list