From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.devel Subject: Bison-like source locations in LALR-parser Date: Sat, 2 Aug 2014 09:58:29 +0200 Message-ID: <1406966311-19014-1-git-send-email-janneke@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406966373 6966 80.91.229.3 (2 Aug 2014 07:59:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Aug 2014 07:59:33 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Aug 02 09:59:29 2014 Return-path: Envelope-to: guile-devel@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 1XDUDw-0001a6-Ja for guile-devel@m.gmane.org; Sat, 02 Aug 2014 09:59:28 +0200 Original-Received: from localhost ([::1]:43329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDUDw-0000Rf-Ak for guile-devel@m.gmane.org; Sat, 02 Aug 2014 03:59:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDUDo-0000RM-H7 for guile-devel@gnu.org; Sat, 02 Aug 2014 03:59:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDUDj-0001hk-4X for guile-devel@gnu.org; Sat, 02 Aug 2014 03:59:20 -0400 Original-Received: from smtp-vbr8.xs4all.nl ([194.109.24.28]:2975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDUDi-0001hd-Qu for guile-devel@gnu.org; Sat, 02 Aug 2014 03:59:15 -0400 Original-Received: from drakenvlieg.verum.local ([62.140.132.76]) (authenticated bits=0) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id s727x1gj003341 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 2 Aug 2014 09:59:11 +0200 (CEST) (envelope-from janneke@gnu.org) X-Mailer: git-send-email 1.9.1 X-Virus-Scanned: by XS4ALL Virus Scanner X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-vbr8.xs4all.nl id s727x1gj003341 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 194.109.24.28 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17300 Archived-At: Hi, I am using these patches to provide Bison-like source locations that we need for error messages and the like. The output of the parser is a plain scheme tree, now transparently annotated with source locations that match the parsed input file. What do you think? Greetings, Jan --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.= nl =20