220 41116 <b9197808-f239-4a39-80c2-974c88208051@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: FrankHB1989 <frankhb1989@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: why not formally support meta programming.
Date: Wed, 28 Nov 2018 20:25:52 -0800 (PST)
Lines: 79
Approved: news@gmane.org
Message-ID: <b9197808-f239-4a39-80c2-974c88208051@isocpp.org>
References: <668e0a04-c988-4354-ae32-30f626f75403@isocpp.org>
 <03dc9a29-5756-42e4-8b94-2f69a9debb8f@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2843_641376002.1543465553085"
X-Trace: blaine.gmane.org 1543465431 22853 195.159.176.226 (29 Nov 2018 04:23:51 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 29 Nov 2018 04:23:51 +0000 (UTC)
Cc: billconan@gmail.com, dponyatov@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCTJVBPG3QIBBUOU7XPQKGQE4F6YKKI@isocpp.org Thu Nov 29 05:23:46 2018
Return-path: <std-proposals+bncBCTJVBPG3QIBBUOU7XPQKGQE4F6YKKI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb1-f198.google.com ([209.85.219.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCTJVBPG3QIBBUOU7XPQKGQE4F6YKKI@isocpp.org>)
	id 1gSDrc-0005mh-F2
	for gclcip-std-proposals@m.gmane.org; Thu, 29 Nov 2018 05:23:44 +0100
Original-Received: by mail-yb1-f198.google.com with SMTP id t60-v6sf505196ybi.4
        for <gclcip-std-proposals@m.gmane.org>; Wed, 28 Nov 2018 20:25:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=igBVKhAcS9BO+9E6hmtMTGp8SHzHBlEKc5jStA9c+1g=;
        b=FxUC8bqVn3bWIMAwvnXyYHkm6jWu0vtHlTC1jAG9rEePJWq+Sm893s8FEfq8Wx2GOO
         jO1SOal0Xva31znwem9YNPa5aEsBOmJuDKyWAyqLajssUv13dJQUCAIMCRX8sFJXlsa5
         8BCwQPb1iLBumn7RXvFT0wiKPtACrgVnZehLb+osY5epVtXQZ7EDl0hNmgc51nA18ZeJ
         Z7MQYR1mCD2NrhQwyLrMZhbjWntk8vJi70YBipAvnH104mzLg4HNRTFNEgJ7PlsNpKmZ
         nqrqmFLIrH2vy+5o75MKeCNsGudwXetq8jSR+hVDkWZjvA/h/J/0bGyrIBgMbJBOvbKh
         iLcQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=igBVKhAcS9BO+9E6hmtMTGp8SHzHBlEKc5jStA9c+1g=;
        b=XyRO6jPCV82gI5ys9AGHpB3rE7aPiKdBqu7qPrs1DCFXQ3h44tSDf5J9Y6jYeqpc62
         xJ2AqO/50Xxlb7VVDwxsiWlI/7uoBz6jf53H8c5i12dtNdlOgFZauVNgRp/7uSyyHZGR
         aQg83dm37KgAfhvg2P+MOn1zqXFRxPuz2QrGRF1XMGqilElZXKoLfDP89kY81QrbkFas
         BVyrH/ZOo4merBdd8pU85anoDyJrdhyI5HzkMQu5GW6cR6PQit/FYT2NlsmMJBJ6i3Te
         Kb5dhcbR+OW5TKiTsVhnd1CIkKmbbrjLCa8dCjcTsI1dug40Nyn6/NVnkcCztHoa2Gx2
         T5iQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to
         :references:subject:mime-version:x-original-sender:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=igBVKhAcS9BO+9E6hmtMTGp8SHzHBlEKc5jStA9c+1g=;
        b=MmSYbPpYJpgCcoIvvPSDEegysX61BG4giRGQJHjhIAGbdFnIdU5qHAjQKOmY63U3bp
         QpaHcMGf+KpzDXNY65ry0SZkb8F0QyAzabZIgGWwJwRE4YXJu4iWaMK3bmrZWCzxzFMb
         l6TUBIqLTBu+rInAnf1+ncGvyDIxOPu4Nt6A+3B5v0CJDTl9ojnkn4YV4f1fNJ3VrAy9
         woQD/mqVK+jwfb1velio7jZe757kTEO/qX/yPqiryeJ+BzYBUaPihnNPeKs8ij1wJfVg
         KEMJp+Fdcf6Vjn7TkqarmVub51YNjh6zBW2p/2CsS2L9HoPglv8fZcblX2MJH9L7AT3n
         W94Q==
X-Gm-Message-State: AA+aEWaYGVDMGaf+X2FBd0G5WIxtbO5IF3kB+yK4XpDA3AbpO5bln0X+
	MxibFKmY3nW9MF2LFyvKmyOX8w==
X-Google-Smtp-Source: AFSGD/XBuuyl7v+07cI9YgySIAbZFHNvOjWbosFGflhU/RX1+JkFmvyXaKdKXNm6SR0MTvTlfso96Q==
X-Received: by 2002:a25:af94:: with SMTP id g20-v6mr3789447ybh.30.1543465554656;
        Wed, 28 Nov 2018 20:25:54 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a81:3b0f:: with SMTP id i15ls218956ywa.7.gmail; Wed, 28 Nov
 2018 20:25:53 -0800 (PST)
X-Received: by 2002:a81:27cd:: with SMTP id n196mr107633ywn.2.1543465553674;
        Wed, 28 Nov 2018 20:25:53 -0800 (PST)
In-Reply-To: <03dc9a29-5756-42e4-8b94-2f69a9debb8f@isocpp.org>
X-Original-Sender: frankhb1989@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:41116
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/41116>

------=_Part_2843_641376002.1543465553085
Content-Type: multipart/alternative; 
	boundary="----=_Part_2844_723737917.1543465553085"

------=_Part_2844_723737917.1543465553085
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable



=E5=9C=A8 2018=E5=B9=B411=E6=9C=8826=E6=97=A5=E6=98=9F=E6=9C=9F=E4=B8=80 UT=
C+8=E4=B8=8B=E5=8D=885:18:08=EF=BC=8Cdpon...@gmail.com=E5=86=99=E9=81=93=EF=
=BC=9A
>
> 20 years, no progress... Just replace C preprocessor with Lisp
>

Lisp rocks here, but far from enough. Notably, traditional Lisp lacks=20
hygiene. Scheme may be better in this point, at the cost of specifying a=20
macro sublanguage as well.

But there is a problem come earlier: there are more than one way to do=20
metaprogramming=20
<https://en.wikipedia.org/wiki/Metaprogramming#Uses_in_programming_language=
s>.=20
And some=20
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0707r0.pdf>has=20
been proposed. However, I don't find an overall material to cover the whole=
=20
topic.

--=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/b9197808-f239-4a39-80c2-974c88208051%40isocpp.or=
g.

------=_Part_2844_723737917.1543465553085
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>=E5=9C=A8 2018=E5=B9=B411=E6=9C=8826=E6=97=A5=E6=
=98=9F=E6=9C=9F=E4=B8=80 UTC+8=E4=B8=8B=E5=8D=885:18:08=EF=BC=8Cdpon...@gma=
il.com=E5=86=99=E9=81=93=EF=BC=9A<blockquote class=3D"gmail_quote" style=3D=
"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex=
;"><div dir=3D"ltr">20 years, no progress... Just replace C preprocessor wi=
th Lisp</div></blockquote><div><br>Lisp rocks here, but far from enough. No=
tably, traditional Lisp lacks hygiene. Scheme may be better in this point, =
at the cost of specifying a macro sublanguage as well.<br><br>But there is =
a problem come earlier: there are more than one way to do <a href=3D"https:=
//en.wikipedia.org/wiki/Metaprogramming#Uses_in_programming_languages">meta=
programming</a>. And <a href=3D"http://www.open-std.org/jtc1/sc22/wg21/docs=
/papers/2017/p0707r0.pdf">some </a>has been proposed. However, I don&#39;t =
find an overall material to cover the whole topic.<br><br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/b9197808-f239-4a39-80c2-974c88208051%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/b9197808-f239-4a39-80c2-974c88208051=
%40isocpp.org</a>.<br />

------=_Part_2844_723737917.1543465553085--

------=_Part_2843_641376002.1543465553085--

.
