Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26903 > unrolled thread

Re: JavaScript in Java and C++

Started by"Michael Haufe (TNO)" <tno@thenewobjective.com>
First post2015-02-23 08:45 -0800
Last post2015-02-23 08:45 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.javascript

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: JavaScript in Java and C++ "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-02-23 08:45 -0800

#26903 — Re: JavaScript in Java and C++

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2015-02-23 08:45 -0800
SubjectRe: JavaScript in Java and C++
Message-ID<57682fd2-1604-41be-a40f-7a69556fa35d@googlegroups.com>
On Monday, February 23, 2015 at 7:00:10 AM UTC-6, Stefan Ram wrote:
> Just for fun, I'd like to mention the fact that our beloved
>   JavaScript, in a sense, is a part of both Java and C++!
> 
>   It is a part of Java in the sense that the standard Java SE
>   JDK includes an interpreter for a language that is very similar
>   to JavaScript, and it is a part of C++ insofar that the C++
>   standard includes ECMA-262 as a normative reference and uses
>   the ECMA-262 grammar as a default grammar for regular expressions.
> 
>   (I might have preferred to see /Perl/ regular expressions as
>   the default, maybe the transition from Perl 5 to Perl 6 has
>   weakened the Perl-5-REs.)

Links or it never happened ;)

I've actually been doing some research work lately with Dependent Types[0] in JavaScript with an implementation on top of Rhino[1]. I've been trying to jump to something newer with ES6 support, but have been unsure of the quality of a potential successor on that platform[2][3], so anything new on that front I would find useful.

The C++ aspect I find surprising TBH. That community already has better regex options[4][5]. I figured they would have folded one or more of them into the language proper.

[0] https://en.wikipedia.org/wiki/Dependent_type
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino
[2] http://www.infoq.com/news/2012/11/Nashorn-proposal
[3] https://blogs.oracle.com/nashorn/
[4] http://www.regular-expressions.info/pcre.html
[5] http://www.regular-expressions.info/posix.html

[toc] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web