From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108346 invoked by alias); 26 Sep 2015 03:41:43 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 108329 invoked by uid 89); 26 Sep 2015 03:41:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 26 Sep 2015 03:41:40 +0000 Received: from [192.168.1.6] ([186.151.109.72]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MKt5A-1ZfgMh3rY8-00014H for ; Sat, 26 Sep 2015 05:41:36 +0200 Message-ID: <1443238891.2513.13.camel@german-HP-245-G2-Notebook-PC> Subject: Re: Approach to add a new language From: =?ISO-8859-1?Q?Germ=E1n?= Arias To: kawa@sourceware.org Date: Sat, 26 Sep 2015 03:41:00 -0000 In-Reply-To: <56044CD1.2050802@bothner.com> References: <1443119328.2480.4.camel@german-HP-245-G2-Notebook-PC> <56044CD1.2050802@bothner.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-UI-Out-Filterresults: notjunk:1;V01:K0:iuF1/4E6ZnM=:4hSnX+Sd+zPXjShBDEy9Iw Ozh0v7VnVQ8BO14IEuuXYcvKQ3CvE4OVZdZ2sS9bCsX1IcLhqabFCVa48/Up/gbXfGoG30RT1 7WgW3OxbrVVKxBLYnvKcO4sEEKWrpBMrcG91kEgRDoXtWtaRJM+CdL03rC/oTdCOJcJz3uK9P /E9nBdZoAAfVodTOepvKWtzYCtGptsajYlE925NaZ72+NOZO+5JSu8Aw4fdDOd2Vg9F8WWp7Y i9RcNBoLqQv61jNx6oyOOyk7r4/THACsLr1BKI0gXbxUHjeWG0MoSsUPMuOMxgdf6F3k9nbHK 5vCgsXSdybzwHaHvcThHSHkcSnmDqRqMHgKFo4+M1NJ5IQFxViaij5FOabmyQx4CPYX+RBaeZ r1c1eqnSF/1zWV+NMipOjQN5eOwvXNG/a4UkbJ3au1GbajdnRidmGIJH0ilgEc/AC/W8QHdH7 sivQAIlSwWY2rTbCYCKa/UlEFFKohyZ+VjpT+kFlNdQWwEO4j942yTt+4U8hkTB7lBfRfEkOI bZQPScoI/790/8sKi7iPcmI6LAVlAFl/YL/pTGk2cQSq1GN2Vd0plivJZKxhw+adTI0GE84SF XuwGJUGnnYrAezFMxO4Lfw9vEESFFe7CacZRlbxv0NFKNhrtFVJJwirQgKWzPcYppF5LE7rmx yUBvmmK9HjK1iEYeB9jWnzXp1ecWSpYHARUZgB/QpCYShrJF268w15QrL+BYyFOCZBkiNWYXq ph9NddAElfn2KrILSLhPzYpTJNdnqPWaNcLZ5g== X-IsSubscribed: yes X-SW-Source: 2015-q3/txt/msg00092.txt.bz2 El jue, 24-09-2015 a las 12:19 -0700, Per Bothner escribi=C3=B3: >=20 > On 09/24/2015 11:28 AM, Germ=C3=A1n Arias wrote: > > Hi all, I'm new at Kawa, although I have some experience in scheme, but > > not in java. I read that Kawa can be used to implement other programming > > languages in java platform. So I would like hear your suggestions to do > > this. I'm thinking on implement Objective-C, but I don't know how this > > works. Parse the objective-C files to generate the corresponding Sheme > > files is enough? Or is necessary other considerations? Thanks in advance > > for your help. >=20 > Objective-C might be a challenge on the JVM, partly because C is a challe= nge > on the JVM. Plus you have to define a mapping from the Objective-C class= /object > model to the Java model. >=20 > Perhaps you could implement a subset of Objective-C - but why? >=20 > I wouldn't use Scheme as an intermediate language (though one could). > One problem is that makes it hard to get line number information correct. > Better (and faster) to parse Objective-C and generate the Expression > objects that Kawa uses. Thanks for your advice.=20 P.S. After trying again, I'm able to compile an Objective-C runtime to android. So, I will be able to compile directly Objective-C on android :) Thanks Germ=C3=A1n