Changes between Version 5 and Version 6 of Tabs


Ignore:
Timestamp:
Mar 2, 2006 4:05:58 AM (9 years ago)
Author:
john@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tabs

    v5 v6  
    1818 * more to implement
    1919 * hard to precicely specify, language syntax extensions would have to be careful not to turn valid programs into invalid one due to this rule.
     20
     21== Concrete implementation idea for the above ==
     22
     23leading tabs are tabs that precede the first non-whitespace character on a line.
     24
     25if leading tabs are present, all leading whitespace must be made up of tabs.
     26
     27Allow leading tabs only if the current line establishes a new indentation level and all enclosing indentation levels were established with tabs. You must use leading tabs to continue a tab established indentation level, even when you are not adding a new statement but rather continuing the previous line.
     28
     29any line that contains tabs in a non-leading position may not establish a new indentation level. (as in, the body of a let,where, etc must all be on the current line or start on the next line.)
     30