From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10963 invoked by alias); 28 Aug 2009 14:35:08 -0000 Received: (qmail 10952 invoked by uid 22791); 28 Aug 2009 14:35:07 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,DNS_FROM_RFC_BOGUSMX X-Spam-Check-By: sourceware.org Received: from sebabeach.org (HELO sebabeach.org) (64.165.110.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 28 Aug 2009 14:35:02 +0000 Received: from sspiff.sspiff.org (seba.sebabeach.org [10.8.159.10]) by sebabeach.org (Postfix) with ESMTP id C62576E3D0 for ; Fri, 28 Aug 2009 07:35:00 -0700 (PDT) Message-ID: <4A97EB14.80400@sebabeach.org> Date: Fri, 28 Aug 2009 14:35:00 -0000 From: Doug Evans User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: cgen@sourceware.org Subject: const locals, initial values? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00083.txt.bz2 Not that this needs to be added any time soon (if ever), but to get the thought down on paper, sometimes I wonder about extending the syntax for sequence locals to ([(option list)] MODE variable-name [initial-value]) e.g. (sequence ((INT x 0) ((const) INT y expr)) ... ) Some purists might wish that initial-value had been there from the beginning, I'm not sure why I didn't do it that way, but oh well.