You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2010/02/25 18:00:30 UTC
[jira] Updated: (LUCY-71) Remove Perl dependency of METAQUOTE
[ 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.