>>> "JC" == John C <john.ciolfi...@gmail.com> writes:

Hi John,


> Over the past few weeks, I've made progress on a matlab tree-sitter major
> mode, matlab-ts-mode.el, in the matlab-ts-mode branch. Tree-sitter,
> https://tree-sitter.github.io/tree-sitter/ is a major step forward from the
> classic technique for building a major-mode in Emacs. With tree-sitter we
> have accurate parse trees that form the basis of the major mode. The mode
> is very close and independent from matlab-mode. The main item remaining is
> integration with matlab-shell. Assuming things go well, I should be able to
> merge matlab-ts-mode to the default branch. Therefore, if anyone wants to
> check it out, please do so. To look at the matlab-ts-mode branch, clone the
> repo, checkout that branch, and get


I have seen your efforts, and I appreciate them very much. Now, the
academic year has finally finished, and my workload is much reduced I
have time for matlab-emacs. 


>    ~/.emacs.d/tree-sitter/libtree-sitter-matlab.so

I have to confess my almost total ignorance about that subject. What
essential new-or-different features does tree-sitter offer. I am asking
this because otherwise testing will be a bit difficult.



> Install ~/.emacs.d/tree-sitter/libtree-sitter-matlab.so by grabbing
> matlab.so from   https://github.com/emacs-tree-sitter/tree-sitter-langs
> latest release and renaming it to
> ~/.emacs.d/tree-sitter/libtree-sitter-matlab.so. (.so on Linux, .dll on
> Windows, .dylib on Mac)

I am very confused. I install tree-sitter via the package system, so I
have it installed

/.emacs.d/elpa/tree-sitter-langs-20250716.1455

Which is a different directory.

Next I cannot find the /libtree-sitter-matlab.so file in 
https://github.com/emacs-tree-sitter/tree-sitter-langs

So there is something elementary I fail to gasp.



BTW, we should release, at least matlab 6.4 in ELPA, the MELPA version
is now quite a bit ahead (compared to the  ELPA version)


I will then also add a HOWTO-elpa.org file that describe, how to release
a new ELPA release. MELPA is updated automatically on a daily base using
the new pushes.

Uwe 


> latest release and renaming it to
> ~/.emacs.d/tree-sitter/libtree-sitter-matlab.so. (.so on Linux, .dll on
> Windows, .dylib on Mac)

> The matlab tree-sitter shared library we're using is from
> https://github.com/acristoffers/tree-sitter-matlab and many thanks to
> acristoffers for maintaining that and fixing issues.

> _______________________________________________
> Matlab-emacs-discuss mailing list
> Matlab-emacs-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss


-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to