From lojban+bncCLr6ktCfBBDu-5LwBBoEtnTcgw@googlegroups.com Fri Jun 24 09:40:29 2011 Received: from mail-pw0-f61.google.com ([209.85.160.61]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1Qa9Qf-0008EX-4d; Fri, 24 Jun 2011 09:40:29 -0700 Received: by pwj8 with SMTP id 8sf1822873pwj.16 for ; Fri, 24 Jun 2011 09:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:x-beenthere:received-spf:date:from:to:subject :message-id:mail-followup-to:references:mime-version:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type:content-disposition; bh=/yDCs1X/uZFDuqmJuB+3BSh0UKgq3UbxiAVBWpxkJ7k=; b=WeMjd6zKuXzSakV26XyI48r+ShBxFbMM4ngfTg0OzQyKeSuBpnEE4hcd15lzjTI7bt 0WPertlgexPvELhZGYnH25GGkch9jxZM+Ptu+TxZ4oZ5FtN23IqbdVZk/V9ez//e39W2 GQHpnKwh5FUuj3ka5GNKVi359Qucx7pIb/oPg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id :mail-followup-to:references:mime-version:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type:content-disposition; b=6yLNcTf9KczAwg36P7lvNsIMVIrFvbdVgP4uDfiEmOer8rVSbN5ofVa1iI1Ap+XN7/ 6kib2sNYunTBq2+EvpfqVNl5ZaVqVUVytlef+uSGcVY8pMzYWV1lZ9dA7nO53hKE101l U1LjWWVh9ZKOTzhvEn2XVihBP8vH3OjbyZ5Tc= Received: by 10.68.43.198 with SMTP id y6mr577708pbl.44.1308933614009; Fri, 24 Jun 2011 09:40:14 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.68.37.105 with SMTP id x9ls835394pbj.2.gmail; Fri, 24 Jun 2011 09:40:12 -0700 (PDT) Received: by 10.68.71.130 with SMTP id v2mr532327pbu.72.1308933612834; Fri, 24 Jun 2011 09:40:12 -0700 (PDT) Received: by 10.68.71.130 with SMTP id v2mr532326pbu.72.1308933612823; Fri, 24 Jun 2011 09:40:12 -0700 (PDT) Received: from mail-pw0-f51.google.com (mail-pw0-f51.google.com [209.85.160.51]) by gmr-mx.google.com with ESMTPS id c10si6020602pbi.2.2011.06.24.09.40.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Jun 2011 09:40:12 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.51 is neither permitted nor denied by best guess record for domain of alanpost@sunflowerriver.org) client-ip=209.85.160.51; Received: by pwi18 with SMTP id 18so2034376pwi.38 for ; Fri, 24 Jun 2011 09:40:12 -0700 (PDT) Received: by 10.143.29.8 with SMTP id g8mr682327wfj.404.1308933612375; Fri, 24 Jun 2011 09:40:12 -0700 (PDT) Received: from sunflowerriver.org (173-10-243-253-Albuquerque.hfc.comcastbusiness.net [173.10.243.253]) by mx.google.com with ESMTPS id x8sm2143800wfx.7.2011.06.24.09.40.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Jun 2011 09:40:11 -0700 (PDT) Date: Fri, 24 Jun 2011 10:40:07 -0600 From: ".alyn.post." To: lojban@googlegroups.com Subject: Re: [lojban] Re: Lojban interpreter Message-ID: <20110624164007.GE5520@alice.local> Mail-Followup-To: lojban@googlegroups.com References: <811b7e98-8667-40e4-a496-09df7b5704d8@k6g2000yqc.googlegroups.com> <20110623213048.GA3668@alice.local> <8efc584f-bdce-4463-a526-27750c137d99@d42g2000yqa.googlegroups.com> <20110624160253.GD5520@alice.local> <736e25d5-4067-401e-b32a-d8e2ede5d3d1@g12g2000yqd.googlegroups.com> Mime-Version: 1.0 In-Reply-To: <736e25d5-4067-401e-b32a-d8e2ede5d3d1@g12g2000yqd.googlegroups.com> X-Original-Sender: alyn.post@lodockikumazvati.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.160.51 is neither permitted nor denied by best guess record for domain of alanpost@sunflowerriver.org) smtp.mail=alanpost@sunflowerriver.org Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline You might really enjoy reading the "Dragon Book," formally called "Principles of Compiler Design." It is the classic textbook on compiler design. In the last several years, it has unfortunately become a little dated, but understanding the material there is necessary for reading any of the recently published papers on the subject, and I'm not aware of a book that is a candidate to replace this one. There way well be, I haven't surveyed the field. If formal coverage of the subject is not to your taste, there exist now a variety of short books and articles on compiler design, many more than used to be available. I'm sure you'll be able to find something helpful that discussed the topic in a way you find useful. Please take my e-mails in the spirit of providing guideposts, rather that dictums. I hope in my suggestions that you will have an easier time accomplishing your goals, but my suggestions may not be the journey you want to take. If your "Lojban parsing is terrible" fix it when it bugs you, not when it bugs the armchair generals. For C#, you have some really nice parsing options, the most popular being IronMeta. It may provide most of the skeleton you need, and you can focus on the Lojbanic pieces of your problem. That project is also well documented, in that you might be able to go from no parsing experience to getting stuff working and learn as you go. .i a'o do selpu'a lo nu finti lo do vi samtci .i mu'o mi'e .alyn. On Fri, Jun 24, 2011 at 09:16:15AM -0700, mirhagk wrote: > K I know that I'm parsing it terribly, that's the thing I want to > change. And basically I want to create a program where you can talk to > a computer and it will execute those commands, but in plain english > (rather plain lojban). With english it's entirely impossible because > of the millions of ambiguities but lojban clears most of those up, and > serves as the perfect language for this task. > > And if your asking why, I'll give you a 3 part answer: > 1. To prove to people how powerful lojban can be in conversing and > interfacing with a computer > 2. To further my understanding of interpreters/compilers > 3. To develop the absolute simplest programming language. > > So what help I would love from you guys is on how to properly parse > the language, because I know I'm doing it wrong, I don't mean to, I > just don't know the right way. And yes this project will be open > source, and I will convert it to C++ eventually, but C# is a much > simpler language for the task right now. > > -- > You received this message because you are subscribed to the Google Groups "lojban" group. > To post to this group, send email to lojban@googlegroups.com. > To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/lojban?hl=en. > -- .i ma'a lo bradi ku penmi gi'e du -- You received this message because you are subscribed to the Google Groups "lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/lojban?hl=en.