From: Ergus <spacibba@aol.com>
To: emacs-devel@gnu.org
Subject: Implementing cuda-ts-mode
Date: Tue, 23 Jul 2024 14:38:13 +0200 [thread overview]
Message-ID: <v2a2js5ssoz7d3hquenaieubgmj263tz3ejbogordd5t3ys4v2@efpjojlxrlv4> (raw)
In-Reply-To: v2a2js5ssoz7d3hquenaieubgmj263tz3ejbogordd5t3ys4v2.ref@efpjojlxrlv4
Hi:
After a while and looking that the ts modules are getting mature I was
planing to develop a `cuda-ts-mode'.
However after reading the documentation it is not totally clear to me
how to proceed in this specific case because cuda is a sort of
"extension" over C++, so I expect that the cuda-ts-mode somehow
"inherits" from c++-ts-mode.
My initial idea was to replicate how I was expecting that c++-ts-mode
should inherit from c-ts-mode, but it looks like this doesn't happen in
a clear way. The modes are threated as independent and there is a sort
of "mode" variable that is dynamically checked everywhere.
So the simple question is:
1. The approach of trying to inherit from c++-ts-mode is correct? (I mean,
is c++-ts-mode intended to be used like a "base" to inherit from?)
Some advise on this?
Thanks in advance,
Ergus
next parent reply other threads:[~2024-07-23 12:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <v2a2js5ssoz7d3hquenaieubgmj263tz3ejbogordd5t3ys4v2.ref@efpjojlxrlv4>
2024-07-23 12:38 ` Ergus [this message]
2024-07-25 7:42 ` Implementing cuda-ts-mode Yuan Fu
2024-07-25 14:05 ` Ergus
2024-07-27 23:22 ` Yuan Fu
2024-07-31 0:15 ` Yuan Fu
2024-07-31 21:06 ` Ergus
2024-07-29 5:10 ` Björn Bidar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v2a2js5ssoz7d3hquenaieubgmj263tz3ejbogordd5t3ys4v2@efpjojlxrlv4 \
--to=spacibba@aol.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).