On Mon, January 22, 2007 16:33, Sven Schreiber wrote:
Some new bugs I have noticed:
- The most serious: the following example script adds a scalar
"determ_case" to the list of variables, which is completely unintended
and I don't see why it should be so, because it's just an internal
function parameter.
<script>
function vec_decomp (const list endogenous, int ci_rank[1:10:1]), int
determ_case[1:5:3])
Sure it needs to be fixed, but isn't there an extra left parenthesis
after ci_rank?
- The other things are quite trivial: "const", "foreach" and
"i" (index
variable) could maybe use some syntax coloring as well, and with "'" as
the transpose notation there are also syntax coloring problems. (It is
interpreted as a string delimiter.)
Yes!! I find it annoying too. The trouble is, telling the two uses of "'"
apart isn't exactly trivial: you need to parse the source to see if the
preceeding expression can be legitimately interpreted as a matrix. Not
easy.
Maybe it can be pseudo-fixed via the following hack: colour-code as
string only if you have 2 "'"s in a line (but then, it's quite possible
you have two transpositions in the same line; it just "fixes" the case
when you've only got one).
Riccardo (Jack) Lucchetti
Dipartimento di Economia
FacoltĂ di Economia "G. FuĂ "
Ancona