all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [announce] Jade, a new package for JavaScript development
@ 2016-08-01 10:17 Nicolas Petton
  2016-08-01 10:26 ` Marcin Borkowski
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Nicolas Petton @ 2016-08-01 10:17 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 897 bytes --]

Hi guys,

I've been willing for a long time to have tools in Emacs to work with a
JavaScript runtime, with an interface similar to CIDER and SLIME.

I've been working lately on a new package connects to a browser tab or
nodejs process and provides many features for JavaScript development:

- a REPL (with auto-completion using company-mode) & object inspection;

- an inspector, with history and navigation;

- and even a stepping Debugger, similar to edebug, or the cider
  debugger.

The project is on GitHub (https://github.com/NicolasPetton/jade) and can
be installed via MELPA (it requires Emacs 25).

The nodejs backend currently requires node-nightly as it uses the new
v8_inspector integration.

The chromium backend is known to work with recent versions of
Chrom[e|ium].

There's no Firefox backend currently, but I plan to write one as well.

I attached some screenshots.

Cheers,
Nico

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

[-- Attachment #2: repl.png --]
[-- Type: image/png, Size: 24933 bytes --]

[-- Attachment #3: repl2.png --]
[-- Type: image/png, Size: 19311 bytes --]

[-- Attachment #4: inspector.png --]
[-- Type: image/png, Size: 42004 bytes --]

[-- Attachment #5: debugger.png --]
[-- Type: image/png, Size: 50992 bytes --]

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

* Re: [announce] Jade, a new package for JavaScript development
  2016-08-01 10:17 [announce] Jade, a new package for JavaScript development Nicolas Petton
@ 2016-08-01 10:26 ` Marcin Borkowski
  2016-08-01 10:28   ` Nicolas Petton
  2016-08-02 13:30 ` Richard Stallman
  2016-08-02 15:07 ` [announce] " Stefan Monnier
  2 siblings, 1 reply; 15+ messages in thread
From: Marcin Borkowski @ 2016-08-01 10:26 UTC (permalink / raw)
  To: Nicolas Petton; +Cc: emacs-devel


On 2016-08-01, at 12:17, Nicolas Petton <nicolas@petton.fr> wrote:

> Hi guys,

Hi Nicolas,

> I've been willing for a long time to have tools in Emacs to work with a
> JavaScript runtime, with an interface similar to CIDER and SLIME.
> [...]

Wow, that looks really interesting!  I'll definitely look at this.
Thanks!

> Cheers,
> Nico

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



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

* Re: [announce] Jade, a new package for JavaScript development
  2016-08-01 10:26 ` Marcin Borkowski
@ 2016-08-01 10:28   ` Nicolas Petton
  0 siblings, 0 replies; 15+ messages in thread
From: Nicolas Petton @ 2016-08-01 10:28 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: emacs-devel

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

Marcin Borkowski <mbork@mbork.pl> writes:

> I'll definitely look at this.

Great, but beware, the project is still in its infancy ;)

Cheers,
Nico

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

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

* Re: Jade, a new package for JavaScript development
  2016-08-01 10:17 [announce] Jade, a new package for JavaScript development Nicolas Petton
  2016-08-01 10:26 ` Marcin Borkowski
@ 2016-08-02 13:30 ` Richard Stallman
  2016-08-02 14:13   ` Clément Pit--Claudel
  2016-08-02 14:15   ` Nicolas Petton
  2016-08-02 15:07 ` [announce] " Stefan Monnier
  2 siblings, 2 replies; 15+ messages in thread
From: Richard Stallman @ 2016-08-02 13:30 UTC (permalink / raw)
  To: Nicolas Petton; +Cc: emacs-devel

[[[ 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. ]]]

  > I've been willing for a long time to have tools in Emacs to work with a
  > JavaScript runtime,

Could you explain what that means?  Which "tools"?  What jobs would one try
to do in this way?

  > The project is on GitHub (https://github.com/NicolasPetton/jade) and can
  > be installed via MELPA (it requires Emacs 25).

If this matures, can you arrange to put it into GNU ELPA
and a GNU repository?

Could you move it to Gitlab please?
http://gnu.org/software/repo-criteria.html
explains why GitHub is harmful; it is important 
to encourage people to use repos that are more ethical
than GitHub.

  > There's no Firefox backend currently, but I plan to write one as well.

Which browsers does it support?  I hope it supports at least one
free browser, because encouraging people to use nonfree browsers
works directly against the GNU Project.





-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.




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

* Re: Jade, a new package for JavaScript development
  2016-08-02 13:30 ` Richard Stallman
@ 2016-08-02 14:13   ` Clément Pit--Claudel
  2016-08-02 14:15   ` Nicolas Petton
  1 sibling, 0 replies; 15+ messages in thread
From: Clément Pit--Claudel @ 2016-08-02 14:13 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 366 bytes --]

On 2016-08-02 09:30, Richard Stallman wrote:
>   > There's no Firefox backend currently, but I plan to write one as well.
> 
> Which browsers does it support?  I hope it supports at least one
> free browser, because encouraging people to use nonfree browsers
> works directly against the GNU Project.

Nicolas mentioned Chromium, which is free software :)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: Jade, a new package for JavaScript development
  2016-08-02 13:30 ` Richard Stallman
  2016-08-02 14:13   ` Clément Pit--Claudel
@ 2016-08-02 14:15   ` Nicolas Petton
  2016-08-02 14:38     ` joakim
  2016-08-03  1:07     ` Richard Stallman
  1 sibling, 2 replies; 15+ messages in thread
From: Nicolas Petton @ 2016-08-02 14:15 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

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

Richard Stallman <rms@gnu.org> writes:

Hi Richard,

> Could you explain what that means?  Which "tools"?  What jobs would one try
> to do in this way?

I mean the ability to connect to and interact with a running JavaScript
process.  Currently Jade has support for:

- a REPL connected to a JavaScript runtime, with code completion;
- an object inspector, with the ability to dive, go back, etc;
- scratch buffers for JavaScript evaluation;
- a stepping debugger, with stack frame locals inspection.

> If this matures, can you arrange to put it into GNU ELPA
> and a GNU repository?

Of course.

> Could you move it to Gitlab please?

I'm considering it.  I know GitHub is not the most ethical choice, but
it certainly is convenient.

> Which browsers does it support?  I hope it supports at least one
> free browser, because encouraging people to use nonfree browsers
> works directly against the GNU Project.

It supports Chromium (I never use Google Chrome, but Jade does support
it), and NodeJS.  Both are free software.

The Firefox backend is missing, but as Firefox is my main web browser, I
will add a backend for it ASAP.

Cheers,
Nico

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

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

* Re: Jade, a new package for JavaScript development
  2016-08-02 14:15   ` Nicolas Petton
@ 2016-08-02 14:38     ` joakim
  2016-08-02 14:46       ` Nicolas Petton
  2016-08-03  1:07     ` Richard Stallman
  1 sibling, 1 reply; 15+ messages in thread
From: joakim @ 2016-08-02 14:38 UTC (permalink / raw)
  To: Nicolas Petton; +Cc: rms, emacs-devel

Nicolas Petton <nicolas@petton.fr> writes:

> Richard Stallman <rms@gnu.org> writes:
>
> Hi Richard,
>
>> Could you explain what that means?  Which "tools"?  What jobs would one try
>> to do in this way?
>
> I mean the ability to connect to and interact with a running JavaScript
> process.  Currently Jade has support for:
>
> - a REPL connected to a JavaScript runtime, with code completion;
> - an object inspector, with the ability to dive, go back, etc;
> - scratch buffers for JavaScript evaluation;
> - a stepping debugger, with stack frame locals inspection.

Would it be possible to somehow use the embedded webkit browser in Emacs 25?

>
>> If this matures, can you arrange to put it into GNU ELPA
>> and a GNU repository?
>
> Of course.
>
>> Could you move it to Gitlab please?
>
> I'm considering it.  I know GitHub is not the most ethical choice, but
> it certainly is convenient.
>
>> Which browsers does it support?  I hope it supports at least one
>> free browser, because encouraging people to use nonfree browsers
>> works directly against the GNU Project.
>
> It supports Chromium (I never use Google Chrome, but Jade does support
> it), and NodeJS.  Both are free software.
>
> The Firefox backend is missing, but as Firefox is my main web browser, I
> will add a backend for it ASAP.
>
> Cheers,
> Nico
>

-- 
Joakim Verona



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

* Re: Jade, a new package for JavaScript development
  2016-08-02 14:38     ` joakim
@ 2016-08-02 14:46       ` Nicolas Petton
  0 siblings, 0 replies; 15+ messages in thread
From: Nicolas Petton @ 2016-08-02 14:46 UTC (permalink / raw)
  To: joakim; +Cc: rms, emacs-devel

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

joakim@verona.se writes:

> Would it be possible to somehow use the embedded webkit browser in
> Emacs 25?

I'd love to do that, but I have no idea how.

Cheers,
Nico

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

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

* Re: [announce] Jade, a new package for JavaScript development
  2016-08-01 10:17 [announce] Jade, a new package for JavaScript development Nicolas Petton
  2016-08-01 10:26 ` Marcin Borkowski
  2016-08-02 13:30 ` Richard Stallman
@ 2016-08-02 15:07 ` Stefan Monnier
  2016-08-07 17:26   ` Nicolas Petton
  2 siblings, 1 reply; 15+ messages in thread
From: Stefan Monnier @ 2016-08-02 15:07 UTC (permalink / raw)
  To: emacs-devel

> The project is on GitHub (https://github.com/NicolasPetton/jade) and can
> be installed via MELPA (it requires Emacs 25).

Any reasons not to put it into elpa.git?


        Stefan



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

* Re: Jade, a new package for JavaScript development
  2016-08-02 14:15   ` Nicolas Petton
  2016-08-02 14:38     ` joakim
@ 2016-08-03  1:07     ` Richard Stallman
  2016-08-04  1:19       ` Alex Dunn
  1 sibling, 1 reply; 15+ messages in thread
From: Richard Stallman @ 2016-08-03  1:07 UTC (permalink / raw)
  To: Nicolas Petton; +Cc: emacs-devel

[[[ 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. ]]]

  > > Could you move it to Gitlab please?

  > I'm considering it.  I know GitHub is not the most ethical choice, but
  > it certainly is convenient.

Please move it.  Teaching people to give freedom priority is our purpose.

  > The Firefox backend is missing, but as Firefox is my main web browser, I
  > will add a backend for it ASAP.

Thanks.  This will deal with that problem.


-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.




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

* Re: Jade, a new package for JavaScript development
  2016-08-03  1:07     ` Richard Stallman
@ 2016-08-04  1:19       ` Alex Dunn
  2016-08-04 18:40         ` Richard Stallman
  0 siblings, 1 reply; 15+ messages in thread
From: Alex Dunn @ 2016-08-04  1:19 UTC (permalink / raw)
  To: rms, Nicolas Petton; +Cc: emacs-devel

Regarding GitHub’s relative rating against Gitlab
(https://www.gnu.org/software/repo-criteria-evaluation.html), I’m not
sure why the former is marked down for having a page about export
controls, when Gitlab is governed by the same laws (mentioned in
https://about.gitlab.com/terms/).

Likewise the fact that GitHub has the list of takedowns
(https://github.com/github/gov-takedowns/tree/master/Russia) is probably
a function of its size and popularity rather than policy differences
with Gitlab (unless Gitlab has or has promised to fight takedowns more
aggressively; if they have, that should be noted in the repository
evaluation.

Richard Stallman <rms@gnu.org> writes:

> [[[ 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. ]]]
>
>   > > Could you move it to Gitlab please?
>
>   > I'm considering it.  I know GitHub is not the most ethical choice, but
>   > it certainly is convenient.
>
> Please move it.  Teaching people to give freedom priority is our purpose.
>
>   > The Firefox backend is missing, but as Firefox is my main web browser, I
>   > will add a backend for it ASAP.
>
> Thanks.  This will deal with that problem.
>
>
> -- 
> Dr Richard Stallman
> President, Free Software Foundation (gnu.org, fsf.org)
> Internet Hall-of-Famer (internethalloffame.org)
> Skype: No way! See stallman.org/skype.html.



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

* Re: Jade, a new package for JavaScript development
  2016-08-04  1:19       ` Alex Dunn
@ 2016-08-04 18:40         ` Richard Stallman
  0 siblings, 0 replies; 15+ messages in thread
From: Richard Stallman @ 2016-08-04 18:40 UTC (permalink / raw)
  To: Alex Dunn; +Cc: nicolas, emacs-devel

[[[ 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. ]]]

I will ask the evaluators about their decisions about these two issues
regarding GitLab.  However, that discussion can't make GitHub any
better.  GitHub is VERY bad for the free software community.

  > I’m not
  > sure why the former is marked down for having a page about export
  > controls, when Gitlab is governed by the same laws (mentioned in
  > https://about.gitlab.com/terms/).

We are concerned with each site's policy, not with the law as such.
This US law does not explicitly require repo sites to deny access to
anyone.

(If it did, we would reject all repos in the US.)

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.




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

* Re: [announce] Jade, a new package for JavaScript development
  2016-08-02 15:07 ` [announce] " Stefan Monnier
@ 2016-08-07 17:26   ` Nicolas Petton
  2016-08-07 23:13     ` Stefan Monnier
  0 siblings, 1 reply; 15+ messages in thread
From: Nicolas Petton @ 2016-08-07 17:26 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel

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

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> The project is on GitHub (https://github.com/NicolasPetton/jade) and can
>> be installed via MELPA (it requires Emacs 25).
>
> Any reasons not to put it into elpa.git?

I want to wait a bit, when I'll consider it mature enough, I'll put it
there.

Cheers,
Nico

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

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

* Re: [announce] Jade, a new package for JavaScript development
  2016-08-07 17:26   ` Nicolas Petton
@ 2016-08-07 23:13     ` Stefan Monnier
  2016-08-08  8:13       ` Nicolas Petton
  0 siblings, 1 reply; 15+ messages in thread
From: Stefan Monnier @ 2016-08-07 23:13 UTC (permalink / raw)
  To: Nicolas Petton; +Cc: emacs-devel

>>> The project is on GitHub (https://github.com/NicolasPetton/jade) and can
>>> be installed via MELPA (it requires Emacs 25).
>> Any reasons not to put it into elpa.git?
> I want to wait a bit, when I'll consider it mature enough, I'll put it
> there.

If it's mature enough for MELPA, I don't see why it wouldn't be fit for
GNU ELPA.

Also you can put it in elpa.git without making a release.

And finally, it's usually easier to do it earlier than to do it later
(by the time it matures, it has often accrued more contributors, so
you have to track them down and get their paperwork (at which time they
aren't terribly motivated to sign any more), instead of doing it
progressively as a prerequisite for contribution).


        Stefan



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

* Re: [announce] Jade, a new package for JavaScript development
  2016-08-07 23:13     ` Stefan Monnier
@ 2016-08-08  8:13       ` Nicolas Petton
  0 siblings, 0 replies; 15+ messages in thread
From: Nicolas Petton @ 2016-08-08  8:13 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

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

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> And finally, it's usually easier to do it earlier than to do it later
> (by the time it matures, it has often accrued more contributors, so
> you have to track them down and get their paperwork (at which time they
> aren't terribly motivated to sign any more), instead of doing it
> progressively as a prerequisite for contribution).

That's a very good point, indeed.

Cheers,
Nico

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

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

end of thread, other threads:[~2016-08-08  8:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-01 10:17 [announce] Jade, a new package for JavaScript development Nicolas Petton
2016-08-01 10:26 ` Marcin Borkowski
2016-08-01 10:28   ` Nicolas Petton
2016-08-02 13:30 ` Richard Stallman
2016-08-02 14:13   ` Clément Pit--Claudel
2016-08-02 14:15   ` Nicolas Petton
2016-08-02 14:38     ` joakim
2016-08-02 14:46       ` Nicolas Petton
2016-08-03  1:07     ` Richard Stallman
2016-08-04  1:19       ` Alex Dunn
2016-08-04 18:40         ` Richard Stallman
2016-08-02 15:07 ` [announce] " Stefan Monnier
2016-08-07 17:26   ` Nicolas Petton
2016-08-07 23:13     ` Stefan Monnier
2016-08-08  8:13       ` Nicolas Petton

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.