|
From: Raymond T. <ray...@er...> - 2005-05-03 14:56:24
|
>>>>> "Goffioul" == Goffioul Michael <gof...@im...> writes:
Goffioul> 1) Implement "colon"-like behavior of Matlab, but use #\| instead (to
Goffioul> avoid clash
Goffioul> with the package separator. So you can write something like: [1|10]
Goffioul> (sent on matlisp-devel, but there are more people subscribed here)
This is neat. Does it also work if you have [n|m]?
One thing I've wanted to do with matlisp is to have a matlisp repl
that would be a bit more like matlab's repl. But I don't really know
how to write parsers and such for that.
Goffioul> 2) Implement colon index. A Matlab matrix access like a(:,2) would
Goffioul> translate in
Goffioul> MatLISP into (matrix-ref a :all 1). It uses the keyword :all.
I'll have to look into this. matrix-ref is a method so adding a
keyword might complicate things.
Thanks,
Ray
|