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


Groups > comp.programming > #1635

Re: Suggestions for a preprocessor

From "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org>
Newsgroups comp.programming
References <jptkpd$shr$1@speranza.aioe.org> <500cea953a95c9b8c8212d840d9558a9@msgid.frell.theremailer.net> <jpvnnr$e2e$1@speranza.aioe.org>
Subject Re: Suggestions for a preprocessor
Date 2012-05-28 14:45 +0100
Message-ID <S5CdnRESwOjoH17SnZ2dnUVZ8vednZ2d@bt.com> (permalink)

Show all headers | View raw


Rui Maciel wrote:

> 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.

Have you considered PHP ?  A language I detest, but maybe suitable for your 
purpose.

Or just write a little pre-processor in your lanugage of choice (Lisp?) and 
have done.  It's often quicker and easier to re-invent a wheel than to try to 
find the right one in the haystack.

    -- chris 

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