unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61936: Wish list: Tree-sitter support for GAP
@ 2023-03-03 14:19 Tor Kringeland
  2023-03-05  4:03 ` Richard Stallman
  2023-03-06  6:20 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 5+ messages in thread
From: Tor Kringeland @ 2023-03-03 14:19 UTC (permalink / raw)
  To: 61936

GAP is a computer algebra system (CAS) used in various areas of math.

There is already `gap-mode.el' [1] but it is not included in Emacs.

A tree-sitter module is available for GAP [2].


- [1] https://gitlab.com/gvol/gap-mode

- [2] https://github.com/fingolfin/tree-sitter-gap




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#61936: Wish list: Tree-sitter support for GAP
  2023-03-03 14:19 bug#61936: Wish list: Tree-sitter support for GAP Tor Kringeland
@ 2023-03-05  4:03 ` Richard Stallman
  2023-03-05  6:31   ` Eli Zaretskii
  2023-03-06  6:20 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2023-03-05  4:03 UTC (permalink / raw)
  To: Tor Kringeland; +Cc: 61936

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > GAP is a computer algebra system (CAS) used in various areas of math.

Is GAP free software?  That affects the moral/political question of
how much support for GAP we should include in Emacs (or any of our
software).

If GAP is free software then we would like to support it, unless
that causes a practical difficulty (it probably won't).

If it is nonfree, in principle we would rather not even mention its
existence.  But we can compromise in certain cases.  If it is already
quite well known, we can support it and say we support it, but keep in
mind that the goal of supporting is to encourage GAP users to use
Emacs while NOT encouraging Emacs users to use GAP.

If GAP is only somewhat well known, we can support it in the same way,
but we should not mention very much that we do support it.  We don't
want to publicize it!

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#61936: Wish list: Tree-sitter support for GAP
  2023-03-05  4:03 ` Richard Stallman
@ 2023-03-05  6:31   ` Eli Zaretskii
  2023-03-07  4:29     ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2023-03-05  6:31 UTC (permalink / raw)
  To: rms; +Cc: tor.kringeland, 61936

> Cc: 61936@debbugs.gnu.org
> From: Richard Stallman <rms@gnu.org>
> Date: Sat, 04 Mar 2023 23:03:47 -0500
> 
>   > GAP is a computer algebra system (CAS) used in various areas of math.
> 
> Is GAP free software?  That affects the moral/political question of
> how much support for GAP we should include in Emacs (or any of our
> software).

GAP's license is GPL 2.0+.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#61936: Wish list: Tree-sitter support for GAP
  2023-03-03 14:19 bug#61936: Wish list: Tree-sitter support for GAP Tor Kringeland
  2023-03-05  4:03 ` Richard Stallman
@ 2023-03-06  6:20 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 5+ messages in thread
From: Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-03-06  6:20 UTC (permalink / raw)
  To: Tor Kringeland; +Cc: 61936


Hei, Tor!

Tor Kringeland <tor.kringeland@ntnu.no> writes:

> GAP is a computer algebra system (CAS) used in various areas of math.
>
> There is already `gap-mode.el' [1] but it is not included in Emacs.

I see no reason not to support this in Emacs.  I do not know or use GAP
myself, but I'd be happy to review a patch adding it.  If you want to
make an attempt, I'd suggest to look at some of the simpler tree sitter
modes, such as java-ts-mode.el, and go from there.  The grammar file is
only ~350 lines, so I suspect support for it will only run in at less
than half the size of java-ts-mode.el :-)

>
> A tree-sitter module is available for GAP [2].
>
>
> - [1] https://gitlab.com/gvol/gap-mode
>
> - [2] https://github.com/fingolfin/tree-sitter-gap


Theo





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#61936: Wish list: Tree-sitter support for GAP
  2023-03-05  6:31   ` Eli Zaretskii
@ 2023-03-07  4:29     ` Richard Stallman
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2023-03-07  4:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: tor.kringeland, 61936

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > >   > GAP is a computer algebra system (CAS) used in various areas of math.
  > > 
  > > Is GAP free software?  That affects the moral/political question of
  > > how much support for GAP we should include in Emacs (or any of our
  > > software).

  > GAP's license is GPL 2.0+.

That's good -- there is no copyright issue using it in Emacs.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-07  4:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 14:19 bug#61936: Wish list: Tree-sitter support for GAP Tor Kringeland
2023-03-05  4:03 ` Richard Stallman
2023-03-05  6:31   ` Eli Zaretskii
2023-03-07  4:29     ` Richard Stallman
2023-03-06  6:20 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).