mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: cluts weekly reports
Date: Wed, 3 Aug 2011 09:31:55 -0400	[thread overview]
Message-ID: <20110803133155.GV132@brightrain.aerifal.cx> (raw)
In-Reply-To: <4E3949E3.4090008@gmail.com>

On Wed, Aug 03, 2011 at 03:15:15PM +0200, Luka Marčetić wrote:
> Well it's a bit too late to stop now, but I don't think fear is
> warranted: Cluts doesn't depend on python because a code generator
> is written in it. The generated code is regular C code, which could
> be written by hand if one wanted to. A code generator is not a
> preprocessor, it is just a handy tool to automate the process of
> writing code by hand. My generator takes in a .json file, and out
> generates most of the syntactic sugar, loops etc needed for the test
> collection to compile and run. That is to say, the generator is used
> to write the tests, not to run them.

Well the question is whether the intended usage, for someone adding
tests, is to add them by hand or by going back to the json "source"
file, adding them there, and rebuilding using the Python tool. In this
case cluts doesn't depend on Python to *run* the tests, but it does
depend on it to modify or update the tests. I'm still confused why
this can't be done in plain C, with the test parameters in C
structures that you loop over, much like some of the existing tests
(e.g. numeric).

Rich


  reply	other threads:[~2011-08-03 13:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18 17:10 Luka M.
2011-07-25 23:04 ` Luka M.
2011-08-03  0:56   ` Solar Designer
2011-08-03  1:21     ` Rich Felker
2011-08-03 13:15       ` Luka Marčetić
2011-08-03 13:31         ` Rich Felker [this message]
2011-08-03 14:51           ` Solar Designer
2011-08-03 17:08           ` Luka Marčetić
2011-08-03 17:22             ` Rich Felker
2011-08-03 18:03               ` Luka Marčetić
2011-08-03 18:19                 ` Rich Felker
2011-08-03 18:38                   ` Luka Marčetić
2011-08-03 21:59                   ` Luka Marčetić
2011-08-03 22:45                     ` Solar Designer
2011-08-03 22:53                     ` Rich Felker
2011-08-04 11:43                       ` Luka Marčetić

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110803133155.GV132@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).