all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vibhav Pant <vibhavp@gmail.com>
To: Tom <adatgyujto@gmail.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Adding c/c++ scripting
Date: Tue, 26 Jan 2016 23:29:23 +0530	[thread overview]
Message-ID: <CA+T2Sh2UCC3+WQ+WfyzRYEMCNwM7Ec1_25ByPGvFD3nzGhBiOQ@mail.gmail.com> (raw)
In-Reply-To: <loom.20160124T063046-879@post.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]

Don't know if it's relevant, but I was able to embed the Python interpreter
into Emacs with dyanmic modules. It's still very clunky, since you either
have to use a FFI, or expose functions in emacs_env to Python. Python also
doesn't have access to a "global" environment, so Python statements have to
executed inside a elisp "exec-python" call. Embedding another language at
such a low level would probably require modification of the Emacs source
instead.

On Sun, Jan 24, 2016 at 11:05 AM, Tom <adatgyujto@gmail.com> wrote:

> Xue Fuqiao <xfq.free <at> gmail.com> writes:
> >
> > PS: Personally, I like Neovim's plugin architecture.  With the msgpack
> > API, you can even use C#/Ruby/JavaScript/... to write plugins.
> >
>
> Does it support calling, for example, a function defined in a C#
> plugin from a Javascript plugin? Because that is the important
> thing that you could write a plugin in any language and use the
> resulting code from any other language.
>
> If it's not possible then these plugins are just isolated pieces
> of code which is much less useful.
>
>
>


-- 
Vibhav Pant
vibhavp@gmail.com

[-- Attachment #2: Type: text/html, Size: 1737 bytes --]

  parent reply	other threads:[~2016-01-26 17:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-23  4:20 Adding c/c++ scripting jonathan maharaj
2016-01-23  8:33 ` Tom
2016-01-24  1:54   ` Richard Stallman
2016-01-26 17:38     ` John Wiegley
2016-01-24  1:23 ` Xue Fuqiao
2016-01-24  5:35   ` Tom
2016-01-25  8:46     ` Xue Fuqiao
2016-01-26 17:59     ` Vibhav Pant [this message]
2016-01-25  1:44   ` Richard Stallman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+T2Sh2UCC3+WQ+WfyzRYEMCNwM7Ec1_25ByPGvFD3nzGhBiOQ@mail.gmail.com \
    --to=vibhavp@gmail.com \
    --cc=adatgyujto@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.