Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #1634

Re: Suggestions for a preprocessor

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From "BartC" <bc@freeuk.com>
Newsgroups comp.programming
Subject Re: Suggestions for a preprocessor
Date Mon, 28 May 2012 13:51:07 +0100
Organization A noiseless patient Spider
Lines 1
Message-ID <jpvsbu$qes$1@dont-email.me> (permalink)
References <jptkpd$shr$1@speranza.aioe.org> <500cea953a95c9b8c8212d840d9558a9@msgid.frell.theremailer.net> <jpvnnr$e2e$1@speranza.aioe.org>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding 7bit
Injection-Date Mon, 28 May 2012 12:51:10 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="g02lTOQ/PuOntaKLE4vnTw"; logging-data="27100"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OmkgtiXboCLUVo7/EuMGk"
X-MimeOLE Produced By Microsoft MimeOLE V14.0.8089.726
In-Reply-To <jpvnnr$e2e$1@speranza.aioe.org>
X-Antivirus-Status Clean
X-Newsreader Microsoft Windows Live Mail 14.0.8089.726
Importance Normal
X-Antivirus avast! (VPS 120528-0, 28/05/2012), Outbound message
Cancel-Lock sha1:QuigOXvLZT40w4UhXobksccOKYo=
X-Priority 3
X-MSMail-Priority Normal
Xref csiph.com comp.programming:1634

Show key headers only | View raw


"Rui Maciel" <rui.maciel@gmail.com> wrote in message
news:jpvnnr$e2e$1@speranza.aioe.org...
> Fritz Wuehler wrote:
>
>> Rui Maciel <rui.maciel@gmail.com> wrote:
>>
>>> If you were given the task of generating a set of text files whose
>>> different versions differed only in a set of numerical values, which
>>> tool
>>> would you choose?
>>
>> diff?
>
> The objective is to generate a set of files with present different values
> specified by a parameter.  For example, let's assume we have this
> template:
>
> <example>
> Line (0,0) (XX,YY)
> </example>
>
> And, based on this template, a user intended to define N different data
> files, each one with different values for (XX, YY), with the values for XX
> and YY being defined in terms of an arbitrary algebraic expression.

Why do you need a preprocessor? It seems to me that any simple language will
do the job.

Or is this example embedded in a mass of other text? Perhaps a more complete
example is needed. Even then, if the input is line oriented (so you don't
need macro expansions in the middle of a line, and don't need nested 
macros), a simple language might still work.

-- 
Bartc 

Back to comp.programming | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Suggestions for a preprocessor Rui Maciel <rui.maciel@gmail.com> - 2012-05-27 17:29 +0100
  Re: Suggestions for a preprocessor Fritz Wuehler <fritz@spamexpire-201205.rodent.frell.theremailer.net> - 2012-05-28 02:16 +0200
    Re: Suggestions for a preprocessor Rui Maciel <rui.maciel@gmail.com> - 2012-05-28 12:32 +0100
      Re: Suggestions for a preprocessor "BartC" <bc@freeuk.com> - 2012-05-28 13:51 +0100
        Re: Suggestions for a preprocessor Rui Maciel <rui.maciel@gmail.com> - 2012-05-28 16:19 +0100
          Re: Suggestions for a preprocessor Rui Maciel <rui.maciel@gmail.com> - 2012-05-28 16:43 +0100
      Re: Suggestions for a preprocessor "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2012-05-28 14:45 +0100
        Re: Suggestions for a preprocessor Rui Maciel <rui.maciel@gmail.com> - 2012-05-28 16:21 +0100
          Re: Suggestions for a preprocessor Patricia Shanahan <pats@acm.org> - 2012-05-28 16:33 -0700
      Re: Suggestions for a preprocessor Nomen Nescio <nobody@dizum.com> - 2012-05-28 16:46 +0200
  Re: Suggestions for a preprocessor Ian Collins <ian-news@hotmail.com> - 2012-05-29 07:50 +1200

csiph-web