From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: my current project: new lalr module Date: Mon, 08 Jun 2015 11:15:38 +0800 Organization: HFG Message-ID: <1433733338.3083.6.camel@Renee-desktop.suse> References: <1433407291.5526.14.camel@Renee-desktop.suse> <417FBD6B-6B92-40FE-864C-1F2F257C899C@verizon.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1433733384 19554 80.91.229.3 (8 Jun 2015 03:16:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2015 03:16:24 +0000 (UTC) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jun 08 05:16:15 2015 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z1nXe-0001dK-5x for guile-user@m.gmane.org; Mon, 08 Jun 2015 05:16:02 +0200 Original-Received: from localhost ([::1]:55774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1nXc-00049B-VT for guile-user@m.gmane.org; Sun, 07 Jun 2015 23:16:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1nXO-000494-4y for guile-user@gnu.org; Sun, 07 Jun 2015 23:15:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1nXK-0003f1-Lr for guile-user@gnu.org; Sun, 07 Jun 2015 23:15:45 -0400 Original-Received: from mail-pd0-x230.google.com ([2607:f8b0:400e:c02::230]:35651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1nXK-0003ee-Dx for guile-user@gnu.org; Sun, 07 Jun 2015 23:15:42 -0400 Original-Received: by pdbnf5 with SMTP id nf5so93201003pdb.2 for ; Sun, 07 Jun 2015 20:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :organization:content-type:mime-version:content-transfer-encoding; bh=mjeRzH8NTpvGVZyLD8U5J6dAIjLKy9cdsOe3W48yjCI=; b=aGhtezkJsSM8BZilZvDAaQH+WsD8L1MzQWwBTG1bs1Y2ETk2b6U8SKeT9S+HckoSGS 53/oQJ6/IsKuFCu+JjY6rlO1eDiX/TlPymm8I8DPBKV0ZzYp/s0SKrW5zxEV+yvPZxD4 QLCSpNHGqN72nRk7t0gI12Vr9t0V+paNyzSMxLMWf9Mc7E994tK4DX4/bXOk8Ns8Yc9h G+v2EIjDvGLQZwV9sGwSZSEZ7+H/8HRk0YyONiT303WgDwU94p4fBElGAzL4JB4i/7Pp moq+U5SBMW57JQsBgAV2y9KBF1dG6Ulyfu7sh4SeIO5J/IbT09texTp6dz06X/SaRA4G yC6w== X-Received: by 10.66.150.169 with SMTP id uj9mr25387115pab.125.1433733341311; Sun, 07 Jun 2015 20:15:41 -0700 (PDT) Original-Received: from [147.2.147.174] ([203.192.156.9]) by mx.google.com with ESMTPSA id ax2sm829911pac.21.2015.06.07.20.15.39 (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 07 Jun 2015 20:15:40 -0700 (PDT) In-Reply-To: <417FBD6B-6B92-40FE-864C-1F2F257C899C@verizon.net> X-Mailer: Evolution 3.4.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::230 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11838 Archived-At: On Sat, 2015-06-06 at 10:19 -0700, Matt Wette wrote: > On Jun 4, 2015, at 1:41 AM, Nala Ginrut wrote: > > > >> 1) There is no specification of terminals. Terminals are detected in > >> rules (via fenders) as quoted symbols or characters. > >> Example of terminals: 'number, #\+ > > > > hmm...and strings? Do you have plan to let users choose whether to use > > terminals-inference? ;-) > > This I will think about. It should not be difficult. (I'm wondering what to do with strings like "(hello)" that I might want to convert to symbols.) IIRC, this is implementation specific, say, #{\x28;hello\x29;}# You can get it from string->symbol. And #{...}# notation is Guile specific. But you don't have to worry about the portability, since you may use cond-expand. Best regards.