From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs and/or Lisp on Lego Mindstorms?
Date: Tue, 10 Apr 2018 09:40:05 +0200 [thread overview]
Message-ID: <20180410074005.GA25039@tuxteam.de> (raw)
In-Reply-To: <86bmesozzi.fsf@zoho.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Apr 09, 2018 at 11:02:09PM +0200, Emanuel Berg wrote:
> Marcin Borkowski wrote:
>
> >> JavaScript "lisp-ish" btw?
> >
> > Why not?
>
> Because JavaScript is a shoddy-construction
> web-programming scripting language with
> a C++ syntax?
Syntax, schmyntax.
Javascript is a Lisp soul damned to live in a strange body. It
shares all those things we love in Lisp, like
- first-class functions.
- untyped (or single-typed) lambda calculus
- (near-) homoiconicity (JSON anyone?)
- dynamic language.
And this is no coincidence. It's because it has deep roots
in Lisp. No other way could someone have put together this
language in 10 days [1] without being deeply rooted in Lisp
"Like many other languages, JavaScript took its
basic syntax from the C language, including
curly braces, semicolons, and reserved
words. It was to be a light, friendly version
of C with simpler semantics and better dynamic
memory characteristics. Because a typical
webpage's lifetime lasted from a few seconds
to a few minutes, JavaScript could take a
very simplified approach to concurrency and
memory management" [1]
And this strange, twisted body is...
"In 1995, Netscape Communications recruited
Brendan Eich with the goal of embedding the
Scheme programming language into its Netscape
Navigator. Before he could get started,
Netscape Communications collaborated with Sun
Microsystems to include in Netscape Navigator
Sun's more static programming language Java,
in order to compete with Microsoft for user
adoption of Web technologies and platforms.[9]
Netscape Communications then decided that
the scripting language they wanted to create
would complement Java and should have a similar
syntax, which excluded adopting other languages
such as Perl, Python, TCL, or Scheme. To
defend the idea of JavaScript against competing
proposals, the company needed a prototype. Eich
wrote one in 10 days, in May 1995" [2]
Java!
The only languages you can possibly prototype in ten
days are Forth, a Lisp and perhaps Tcl (which is "a
Lisp" turned inside out, actually).
Cheers
[1] https://www.computer.org/csdl/mags/co/2012/02/mco2012020007.pdf
[2] https://en.wikipedia.org/wiki/Javascript#History
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlrMalUACgkQBcgs9XrR2kZengCePVGOg9IkI1swgRJQgcK4pcGO
zukAn1AwMz2IAl4rZux8c3LsnwD2pmE1
=m9o0
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2018-04-10 7:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-02 0:51 Emacs and/or Lisp on Lego Mindstorms? Emanuel Berg
2018-04-05 10:31 ` Marcin Borkowski
[not found] ` <mailman.11730.1522924324.27995.help-gnu-emacs@gnu.org>
2018-04-06 18:50 ` Emanuel Berg
2018-04-08 6:06 ` Emanuel Berg
2018-04-09 19:52 ` Marcin Borkowski
[not found] ` <mailman.11945.1523303599.27995.help-gnu-emacs@gnu.org>
2018-04-09 21:02 ` Emanuel Berg
2018-04-10 4:27 ` Marcin Borkowski
2018-04-10 7:40 ` tomas [this message]
2018-04-10 21:06 ` Stefan Monnier
[not found] ` <mailman.11985.1523394413.27995.help-gnu-emacs@gnu.org>
2018-04-10 21:26 ` Emanuel Berg
2018-04-10 21:39 ` Stefan Monnier
2018-04-11 6:45 ` tomas
[not found] ` <mailman.11961.1523346023.27995.help-gnu-emacs@gnu.org>
[not found] ` <86y3huaokd.fsf@zoho.com>
2018-04-10 19:55 ` tomas
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=20180410074005.GA25039@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=help-gnu-emacs@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.