From rivetadamsapril@example.net Mon Jul 02 14:46:53 2007
Return-Path: <rivetadamsapril@example.net>
Delivered-To: adamsapril@example.net
Received: (qmail 41704 invoked from network); 2 Jul 2007 14:46:52 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 2 Jul 2007 14:46:52 -0000
Received: (qmail 46550 invoked by uid 500); 2 Jul 2007 14:46:47 -0000
Delivered-To: adamsapril@example.net
Received: (qmail 46510 invoked by uid 500); 2 Jul 2007 14:46:47 -0000
Mailing-List: contact adamsapril@example.net; run by ezmlm
Precedence: bulk
List-Help: <mailto:adamsapril@example.net>
List-Unsubscribe: <mailto:adamsapril@example.net>
List-Post: <mailto:adamsapril@example.net>
List-Id: <rivet-dev.tcl.apache.org>
Delivered-To: mailing list adamsapril@example.net
Received: (qmail 46459 invoked by uid 99); 2 Jul 2007 14:46:47 -0000
Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 07:46:47 -0700
X-ASF-Spam-Status: No, hits=-0.0 required=10.0
	tests=SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (herse.apache.org: domain of adamsapril@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 07:46:42 -0700
Received: by py-out-1112.google.com with SMTP id u77so2657257pyb
        for <adamsapril@example.net>; Mon, 02 Jul 2007 07:46:21 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=VW+190rhdMntMkKIxYcvrpQwexgsJ2lnYBVFyrosMlbKUmsh6PZ3befztrHivUXz2x/7lDXWuBWCgEmDFR0JsgOHhwNutJzjBK6ys2H1+rEKjcf5T6VaeyhkLcAKfzuDFgs+0pwoXmKPYg8Skr+mPmN6H0jjnA4X+qbUJvrQBiQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=NseAQcWQpoEKy46N6V/cy8IeLaoxTy62oitvanIzuNSVr+ztfmqdFMJ1DtvvH9Xvy9sTpVUxbG9ET9Z/w4w5Wzrr8LlAoSwFtEeCWCl0HLRF1Ffq0d2lcMlm5L1hcwPuHurLoX3Im2XTo/S5n8zNrtZnY0kNPKfnuZzwdxf3CIo=
Received: by 83.161.120.155 with SMTP id l2mr9177479qbr.1183387580860;
        Mon, 02 Jul 2007 07:46:20 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Mon, 2 Jul 2007 07:46:20 -0700 (PDT)
Message-ID: <adamsapril@example.net>
Date: Mon, 2 Jul 2007 16:46:20 +0200
From: "David Welton" <adamsapril@example.net>
To: adamsapril@example.net
Subject: Massimo Manghi has been accepted as a committer
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Checked: Checked by ClamAV on apache.org

I'd like to welcome Massimo Manghi as a committer on the Rivet project
- we, the PMC, voted him in.  He'll initially be working on docs, with
a patch or two here and there on the Tcl code included with Rivet.

-- 
David N. Welton
 - http://www.dedasys.com/davidw/

Linux, Open Source Consulting
 - http://www.dedasys.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: adamsapril@example.net
For additional commands, e-mail: adamsapril@example.net


From adamsapril@example.net Tue Jul 31 12:27:56 2007
Return-Path: <adamsapril@example.net>
Delivered-To: adamsapril@example.net
Received: (qmail 5703 invoked from network); 31 Jul 2007 12:27:55 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 31 Jul 2007 12:27:55 -0000
Received: (qmail 86223 invoked by uid 500); 31 Jul 2007 12:27:56 -0000
Delivered-To: adamsapril@example.net
Received: (qmail 86207 invoked by uid 500); 31 Jul 2007 12:27:56 -0000
Mailing-List: contact adamsapril@example.net; run by ezmlm
Precedence: bulk
List-Help: <mailto:adamsapril@example.net>
List-Unsubscribe: <mailto:adamsapril@example.net>
List-Post: <mailto:adamsapril@example.net>
List-Id: <rivet-cvs.tcl.apache.org>
Delivered-To: mailing list adamsapril@example.net
Received: (qmail 86196 invoked by uid 99); 31 Jul 2007 12:27:55 -0000
Received: from Unknown (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 05:27:55 -0700
X-ASF-Spam-Status: No, hits=-100.0 required=10.0
	tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 12:27:55 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
	id 49E001A981A; Tue, 31 Jul 2007 05:27:35 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r561309 - in /tcl/rivet/branches/1_0: ChangeLog
 rivet/packages/tclrivet/tclrivet.tcl
 rivet/packages/tclrivet/tclrivetparser.tcl
Date: Tue, 31 Jul 2007 12:27:35 -0000
To: adamsapril@example.net
From: adamsapril@example.net
X-Mailer: svnmailer-1.1.0
Message-Id: <adamsapril@example.net>
X-Virus-Checked: Checked by ClamAV on apache.org

Author: davidw
Date: Tue Jul 31 05:27:34 2007
New Revision: 561309

URL: http://svn.apache.org/viewvc?view=rev&rev=561309
Log:
* rivet/packages/tclrivet/tclrivet.tcl (rivet): Added rivet command.

* rivet/packages/tclrivet/tclrivetparser.tcl (tclrivetparser888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4parse):
  Fiddled with quoting to make things work.


Modified:
    tcl/rivet/branches/1_0/ChangeLog
    tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivet.tcl
    tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivetparser.tcl

Modified: tcl/rivet/branches/1_0/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/1_0/ChangeLog?view=diff&rev=561309&r1=561308&r2=561309
==============================================================================
--- tcl/rivet/branches/1_0/ChangeLog (original)
+++ tcl/rivet/branches/1_0/ChangeLog Tue Jul 31 05:27:34 2007
@@ -1,3 +1,8 @@
+2007-07-31  David N. Welton  <adamsapril@example.net>
+
+	* rivet/packages/tclrivet/tclrivetparser.tcl
+	(tclrivetparser888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4parse): Fiddled with quoting to make things work.
+
 2007-04-26  David N. Welton  <adamsapril@example.net>
 
 	* doc/download.tcl: Example from Massimo Manghi.

Modified: tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivet.tcl
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivet.tcl?view=diff&rev=561309&r1=561308&r2=561309
==============================================================================
--- tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivet.tcl (original)
+++ tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivet.tcl Tue Jul 31 05:27:34 2007
@@ -18,8 +18,27 @@
 
 package provide tclrivet 0.1
 
-load [file join [file dirname [info script]] .. .. .. src \
-	  librivetparser[info sharedlibextension]]
+source [file join [file dirname [info script]] tclrivetparser.tcl]
+
+# rivet --
+#
+#	The rivet command runs a file in Rivet-like environment.
+#
+# Arguments:
+#	filename - the name of the file to run.
+#
+# Side Effects:
+#	Many, potentially.  Output is sent to stdout.
+#
+# Results:
+#	None.
+
+proc rivet { filename } {
+    set fl [open $filename]
+    set parsed [tclrivetparser888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4parserivetdata [read $fl]]
+    close $fl
+    eval $parsed
+}
 
 proc include { filename } {
     set fl [ open $filename ]

Modified: tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivetparser.tcl
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivetparser.tcl?view=diff&rev=561309&r1=561308&r2=561309
==============================================================================
--- tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivetparser.tcl (original)
+++ tcl/rivet/branches/1_0/rivet/packages/tclrivet/tclrivetparser.tcl Tue Jul 31 05:27:34 2007
@@ -98,21 +98,21 @@
 		    append outbuf [string range $starttag 0 [expr {$p - 1}]]
 		    set p 0
 		}
-		switch -exact -- $cur {
-		    "\{" {
+		switch -exact -- "$cur" {
+		    {\{} {
 			append outbuf "\\{"
 		    }
-		    "\}" {
+		    {\}} {
 			append outbuf "\\}"
 		    }
 		    "\$" {
 			append outbuf "\\$"
 		    }
-		    "\[" {
-			append outbuf "\\["
+		    {[} {
+			append outbuf {\[}
 		    }
-		    "\]" {
-			append outbuf "\\]"
+		    {]} {
+			append outbuf {\]}
 		    }
 		    "\"" {
 			append outbuf "\\\""
@@ -144,6 +144,7 @@
 	    }
 	}
     }
+
     return $inside
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: adamsapril@example.net
For additional commands, e-mail: adamsapril@example.net



{'source': 'Apache Software Foundation Public Mail Archives'}