[TxMt] Octave/Matlab bundle

Baluta Cristian cristi.baluta at gmail.com
Mon Feb 18 12:25:06 UTC 2008


i'm interested in this subject to, but for haXe. i can start from AS syntax.

On Feb 18, 2008 2:33 AM, Ben Abbott <bpabbott at mac.com> wrote:

> I'm interested a bundle that supports Octave's syntax which is nearly
> same as Matlab's ... plus a bit more.
>
> Additional Octave "features" are listed at the link below
>
> http://www.gnu.org/software/octave/FAQ.html#Octave-Features
>
> The additional syntax includes
> * Comments with the number-sign, "#"
> * Strings delimitted by double quotes, ex: "string"
> * Line continuation by backslash.
>
> The Matlab bundle apparently respects single and double quotes, but is
> agnostic to line continuation. Thus, the only additional thing needed for
> Octave is support of the number-sign for comments.
>
> I cut the text below from the shell script bundle and pasted it into the
> Matlab bundle, and it appears to work properly!
>
>                {       name = 'comment.line.number-sign.shell';
>                        match = '(?<!\$)(#)(?!\{).*$\n?';
>                        captures = { 1 = { name = '
> punctuation.definition.comment.matlab'; }; };
>                },
>
> Might Matlab's bundle be patched to include this, or should an
> independent bundle be introduced for Octave?
>
> Ben
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>



-- 
Cristi
www.ralcr.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080218/f1bd985a/attachment.html>


More information about the textmate mailing list