[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matlab style-sheet
From: |
Akim Demaille |
Subject: |
Re: Matlab style-sheet |
Date: |
24 Sep 2002 13:26:38 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
| Franck Lombardi wrote:
| >
| > Hi,
| >
| > In A2ps cvs version, there is a matlab4 style sheet.
| > What the difference with your sheet ??
| >
| > Your sheet is necessary in spite of the matlab4 sheet ?
| >
| > thanks
| >
|
| There are a couple of things I don't like about the matlab4 sheet.
|
| o It lists almost all standard functions in matlab4 as keywords.
| Since there's 564 of them it's hard to keep up to date with more
| recent versions of matlab. (My matlab 5.3 installation has
| 8456 functions and 11673 for version 6.1)
| I think it's better to limit the keywords to for, while, end etc.
|
| o It doesn't recognize strings and therefore all keywords in
| strings will be highlighted which is very ugly.
| The most difficult part when I wrote the matlab sheet was to
| distinguish string delimiters from the transpose operator
| since it's the same symbol (').
|
| o It requires a space after the comment character (%) and that's
| a problem since it is very common to have the first comment line
| whitout a leading space in matlab-files.
Then it would be good if the documentation section could include this
information :)