From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id EB08D7ED34 for ; Sun, 8 Jul 2012 12:01:55 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of nojb@math.harvard.edu) identity=pra; client-ip=140.247.28.153; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="nojb@math.harvard.edu"; x-sender="nojb@math.harvard.edu"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of nojb@math.harvard.edu) identity=mailfrom; client-ip=140.247.28.153; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="nojb@math.harvard.edu"; x-sender="nojb@math.harvard.edu"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@abel.math.harvard.edu) identity=helo; client-ip=140.247.28.153; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="nojb@math.harvard.edu"; x-sender="postmaster@abel.math.harvard.edu"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoUkAPpZ+U+M9xyZSmdsb2JhbABFjVGqJAEBFQwJBxUngmGBY4g6mRSXCokEjjCCPGADlTaFVo0q X-IronPort-AV: E=Sophos;i="4.77,546,1336341600"; d="scan'208";a="149974668" Received: from math.harvard.edu (HELO abel.math.harvard.edu) ([140.247.28.153]) by mail4-smtp-sop.national.inria.fr with ESMTP; 08 Jul 2012 12:01:54 +0200 Received: from [10.0.0.2] (c-68-50-223-227.hsd1.md.comcast.net [68.50.223.227]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by abel.math.harvard.edu (Postfix) with ESMTP id 61BCAFA22 for ; Sun, 8 Jul 2012 06:01:52 -0400 (EDT) From: Nicolas Ojeda Bar Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 8 Jul 2012 06:01:50 -0400 Message-Id: <73F2C118-89C0-4EFB-849D-1F70B4B58AA4@math.harvard.edu> To: caml-list@yquem.inria.fr Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Subject: [Caml-list] stream parsers with location information? Hi, Is there a clean way to use stream parsers/lexers if I want to have location (line number, character position) information attached to each token? Thanks! Nicolas