From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p06CKD20003147 for ; Thu, 6 Jan 2011 13:20:13 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmoBAD9CJU1KfVK2kGdsb2JhbACWCY4HCBUBAQEBCQkMBxEEIKZHiXiCFYRXLoYFAQEDBYVHBIsJgx1q X-IronPort-AV: E=Sophos;i="4.60,282,1291590000"; d="scan'208";a="86160924" Received: from mail-wy0-f182.google.com ([74.125.82.182]) by mail2-smtp-roc.national.inria.fr with ESMTP; 06 Jan 2011 13:20:08 +0100 Received: by wyf19 with SMTP id 19so16836340wyf.27 for ; Thu, 06 Jan 2011 04:20:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=QLCicqfuCRjjMtq0fSODOJUO/VV2zQIa9acfd56+nfc=; b=Bm+40m5zq291n4Zce6wr/XUt7FvDV4XRZMw06Jn/vnz8yZ7/v4HujhJHtt6XsrWBth qzaDcoMvkoVWL8TcZjK8mlO7FhdDK3TL8vY9AuIxdEf/Ipfv6mMacqhTmPgfJCgy7qcV QMfkbwuUGQFuIG3Cp1eUES8TFfKLeWPAZxHdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=HWChDcW+3yjdcWfq9J33/0VXzxBdPZl99VUT6dy41wK0UhrnV3gSKy8B5x9rd0qpZx B84pDn3I5ZPZgn/aTe85nozrBCKttiO0aPdzc7j295a4BBr0dm4I/iGwdBjVOAtpX8Xd XOhMya0IImwPtCe983N/5OBYJud2N544hpeXw= Received: by 10.227.100.133 with SMTP id y5mr1792610wbn.159.1294316408067; Thu, 06 Jan 2011 04:20:08 -0800 (PST) Received: from [192.168.0.193] ([95.60.213.7]) by mx.google.com with ESMTPS id j58sm11748499wes.21.2011.01.06.04.20.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 Jan 2011 04:20:07 -0800 (PST) From: Joel Reymont Content-Type: text/plain; charset=us-ascii Date: Thu, 6 Jan 2011 12:20:04 +0000 Message-Id: To: caml-list@inria.fr Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p06CKD20003147 Subject: [Caml-list] replacing swig Suppose you are writing a SWIG replacement based on gccxml, gcc plugins, etc. How would you figure out if the user meant char** as a pointer to a string vs an array of characters? SWIG handles this with typemaps. Does this mean that whatever replaces SWIG would also require a typemap DSL? --- http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont