From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ernesto Durante Subject: Re: babel: ob-C with Visual C++ and compilation-mode Date: Sun, 24 Aug 2014 14:57:26 +0200 Message-ID: <871ts6oxjd.fsf@gmail.com> References: <878un4ut6c.fsf@gmail.com> <53E91C32.4000002@free.fr> <87lhqt6b0w.fsf@gmail.com> <53EA8F2B.7010205@free.fr> <87zjf8cdjk.fsf@gmail.com> <53ED1EB0.3030500@free.fr> <87lhqp7jnp.fsf@gmail.com> <53F08FE3.20506@free.fr> <87vbpq6o4w.fsf@gmail.com> <53F25B1F.3020804@free.fr> <87sikqhp3j.fsf@gmail.com> <53F64D23.3030303@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLXMc-0004F7-Lc for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 08:57:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLXMQ-0003CN-7R for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 08:57:42 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:64433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLXMP-0003AK-Vf for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 08:57:30 -0400 Received: by mail-wi0-f170.google.com with SMTP id f8so2651736wiw.5 for ; Sun, 24 Aug 2014 05:57:28 -0700 (PDT) Received: from localhost.localdomain (col74-1-88-183-113-172.fbx.proxad.net. [88.183.113.172]) by mx.google.com with ESMTPSA id d2sm20249645wiy.13.2014.08.24.05.57.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Aug 2014 05:57:28 -0700 (PDT) In-Reply-To: <53F64D23.3030303@free.fr> (Thierry Banel's message of "Thu, 21 Aug 2014 21:48:51 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thierry Banel writes: > Le 20/08/2014 22:40, Ernesto Durante a =C3=A9crit : > > as the source org file is not guarantied to be in utf-8. > > You may want to give it a try an provide a patch for that. > 3 files are involved: > - lisp/ob-C.el (you know this one) > - testing/lisp/test-ob-C.el (to launch unit tests) > - testing/examples/ob-C-test.org (the unit tests themselves) > - worg/org-contrib/babel/languages/ob-doc-C.org (the 4th of the 3 files). > > Have fun > Thierry Hi Thierry, Again I really appreciate your help. As you pointed out unicode is the solution but we have to pay attention the source file be itself encoded in unicode. I have worked with VTK (the visualization toolkit). It is like babel and allows differents block to be chained and evaluated on demand. In VTK, such a chain is called a pipeline. Clearly the main challenge of VT= K is to ensure that the data flowing between algorithms are compatible. VTK relies heavily on the type of data. How in Babel can we associate a type to a data ? to a column of a table ? to a list ? Without such a information, how can babel infer the type ? Best Ernesto