From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.107.197 with SMTP id e5mr4543605icp.5.1421977152058; Thu, 22 Jan 2015 17:39:12 -0800 (PST) X-Received: by 10.140.25.242 with SMTP id 105mr970qgt.19.1421977151926; Thu, 22 Jan 2015 17:39:11 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!hl2no399670igb.0!news-out.google.com!q4ni0qan.0!nntp.google.com!bm13no2391003qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 22 Jan 2015 17:39:11 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=104.169.172.46; posting-account=Ies7ywoAAACcdHZMiIRy0M84lcJvfxwg NNTP-Posting-Host: 104.169.172.46 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada->Javascript? From: brbarkstrom@gmail.com Injection-Date: Fri, 23 Jan 2015 01:39:11 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 2242 X-Received-Body-CRC: 445330949 Xref: news.eternal-september.org comp.lang.ada:24706 Date: 2015-01-22T17:39:11-08:00 List-Id: On Wednesday, January 21, 2015 at 4:57:41 PM UTC-5, David Botton wrote: > > For "Javascript conveniences", in addition to "runs everywhere" I should > > have said "without needing an install or internet connection", eg, > > strictly in a browser in a cell phone on a desert island. > > I don't have time yet (and others may beat me to it) but there will be a day not that long off when there is a compile to ASM.JS for Ada. > > David Botton There is also the templates parser for the Ada Web Server. That should already handle JavaScript as well as XML. It may be that the ACM folks wouldn't care if the code came as GPL. The parser is embedded in the Web Server code and the templates are brought in as external files. In principle, this should work "in a browser in a cell phone on a desert island". [Interesting situation - a desert island with a full-blown power plant to recharge the phone, plus some way to beam in the text to be translated. I suppose such an island also has a laser printer.] Bruce B.