Return-Path: Delivered-To: apmail-lucene-lucy-dev-archive@minotaur.apache.org Received: (qmail 30257 invoked from network); 25 Feb 2010 17:00:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 17:00:53 -0000 Received: (qmail 63389 invoked by uid 500); 25 Feb 2010 17:00:53 -0000 Delivered-To: apmail-lucene-lucy-dev-archive@lucene.apache.org Received: (qmail 63358 invoked by uid 500); 25 Feb 2010 17:00:53 -0000 Mailing-List: contact lucy-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucy-dev@lucene.apache.org Delivered-To: mailing list lucy-dev@lucene.apache.org Received: (qmail 63349 invoked by uid 99); 25 Feb 2010 17:00:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 17:00:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 17:00:52 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E3225234C495 for ; Thu, 25 Feb 2010 09:00:30 -0800 (PST) Message-ID: <1489787022.528361267117230928.JavaMail.jira@brutus.apache.org> Date: Thu, 25 Feb 2010 17:00:30 +0000 (UTC) From: "Marvin Humphrey (JIRA)" To: lucy-dev@lucene.apache.org Subject: [jira] Updated: (LUCY-71) Remove Perl dependency of METAQUOTE In-Reply-To: <275083961.1258829919684.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCY-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marvin Humphrey updated LUCY-71: -------------------------------- Attachment: bye_bye_metaquote.diff Ever since all instances of METAQUOTE in the Charmonizer source code were switched over to QUOTE, running through the "metaquote" utility has been a pass-through operation. The attached patch, "bye_bye_metaquote.diff", eliminates the metaquote stage, so that the Perl build process uses the Charmonizer .c/.h files directly. It also removes the now-obsolete "metaquote" script and the trunk/charmonizer/bin directory. > Remove Perl dependency of METAQUOTE > ----------------------------------- > > Key: LUCY-71 > URL: https://issues.apache.org/jira/browse/LUCY-71 > Project: Lucy > Issue Type: Improvement > Components: Charmonizer > Reporter: Nathan Kurz > Priority: Minor > Attachments: bye_bye_metaquote.diff, charm_and_harm_to_c_and_h.diff, quote.diff > > Original Estimate: 168h > Remaining Estimate: 168h > > Charmonizer currently uses a Perl script 'METAQUOTE' to preprocess its '.charm' files into '.c' files and '.harm' files into '.h' files. This works, but requires a dependency on Perl that seems inappropriate for a C language tool. > The suggested alternatives were to use manual quoting or standard macros. > Manual quoting seemed error prone and cumbersome, so this patch proposes the using the 'stringify' (#expr) function within standard C preprocessor macros. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.