From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 6AA9EBC58 for ; Sat, 25 Sep 2010 23:16:05 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au0CAOcDnkzRVdY2f2dsb2JhbACUHY4oCBUBAQsJJAMfqgqJPYIUb4UULohVAQEDBYU+BIo6hHg X-IronPort-AV: E=Sophos;i="4.57,236,1283724000"; d="scan'208";a="71457966" Received: from mail-bw0-f54.google.com ([209.85.214.54]) by mail4-smtp-sop.national.inria.fr with ESMTP; 25 Sep 2010 23:15:56 +0200 Received: by bwz15 with SMTP id 15so4358849bwz.27 for ; Sat, 25 Sep 2010 14:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Et3ujnlvbPH4iqM55zrI4B9UHNInLVjgGnZwRiMvtb4=; b=EK4OmBZJmiQcFb562c7AvP8EiOMQtHR7cVu21Y+Yj9+kRridicGjjw+s3osigkvjXa i5g/bAFNTgq9Qqy4TTwqSXOuuWCOlwZ3n1ZJ6JqDA7hZwSvnTEgmM2+F8r9sNzkHJiYG pqUyfjVC1FymdTWdy10xTXSdfEMJvrQdqXSmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bwPwxzH4Bym1KrNY71L+nRiFNGfpKboSSfrymt32sy/l/ImVfVql+KpppLQV5mqb1D f+YqERDaDMDI1Y3Gn2bGLqlhYIMC0/BSAvR23mD+i5CWmqA8MPLxFGovEa0TAzTR9Rt2 HhWHKANt6yI36dCHAnb751b+VuM/ZS1z4Ty5g= MIME-Version: 1.0 Received: by 10.204.23.77 with SMTP id q13mr3428092bkb.191.1285449354410; Sat, 25 Sep 2010 14:15:54 -0700 (PDT) Received: by 10.204.120.4 with HTTP; Sat, 25 Sep 2010 14:15:54 -0700 (PDT) In-Reply-To: <5411501F-8CE2-4C30-BB81-E005D6A2A738@wanadoo.fr> References: <79CF83F9-11AC-4D55-9C74-5294432F2591@wanadoo.fr> <5411501F-8CE2-4C30-BB81-E005D6A2A738@wanadoo.fr> Date: Sat, 25 Sep 2010 18:15:54 -0300 Message-ID: Subject: Re: [Caml-list] [ANN] pfff_visual, a fancy code visualizer/navigator for OCaml, and more From: Andrei Formiga To: Yoann Padioleau Cc: caml users Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; pfff:01 ocaml:01 formiga:01 formiga:01 pfff:01 dependencies:01 makefiles:01 ocamlc:01 cmo:01 ocaml:01 emacs:01 emacs:01 macos:01 lgpl:01 andrieu:01 Hi, I like the idea of code visualization and would like to try pfff_visual. Alas, I'm having trouble building it. The first thing I noticed is that the repository bundles versions of all its dependencies, apparently. I have most of these installed already through GODI, and I didn't look at the makefiles, but does the code try to use the system versions of the libraries, if present? Right now the error I'm seeing seems to be related to ocaml-bdb, though I have a version installed (and working) through GODI: make[2]: Entering directory `/home/andrei/tmp/pfff/external/ocamlbdb' ocamlc -c bdb.ml File "bdb.ml", line 255, characters 19-30: Error: Unbound constructor DB_NOTFOUND make[2]: *** [bdb.cmo] Error 2 make[2]: Leaving directory `/home/andrei/tmp/pfff/external/ocamlbdb' make[1]: *** [rec] Error 2 make[1]: Leaving directory `/home/andrei/tmp/pfff' make: *** [all] Error 2 So maybe this would work if the build could use the version I already have installed. --=20 []s, Andrei Formiga On Fri, Sep 24, 2010 at 12:08 PM, Yoann Padioleau wrot= e: > > On Sep 23, 2010, at 11:23 PM, Yoann Padioleau wrote: > > Hi list, > > It is my pleasure to announce pfff_visual, a code visualizer/navigator > for OCaml. Note that this is not a replacement for Emacs or vi, but more = a > companion that works with Emacs/Vi. > > A demo is available here: > part1: http://www.youtube.com/watch?v=3DHRZjBGD3osw > part2: http://www.youtube.com/watch?v=3D993pmNLY_VU > > For the people who refuse to vomit while watching a video, > here are a few screenshots of the visualizer applied on the linux > kernel source, the ocaml source, and the source of pfff itself: > http://padator.org/software/pfff/pfff_linux_source.jpg > http://padator.org/software/pfff/pfff_ocaml_source.jpg > http://padator.org/software/pfff/pfff_ocaml_source2.jpg > http://padator.org/software/pfff/pfff_ocaml_source3.jpg > http://padator.org/software/pfff/pfff_pfff_source.jpg > The screenshots can not show the integration with Emacs though. You'll h= ave > to suffer and watch the videos for that. > If you don't have git, you can still download pfff by following this link= : > http://github.com/facebook/pfff/archives/master > > pfff_visual is using pfff, which is mainly an OCaml API to write > static analysis, dynamic analysis, code visualizations, code > navigations, or style-preserving source-to-source transformations such > as refactorings on source code. For now the effort is focused on PHP > but there is preliminary support for Javascript, and C++ code. > There is also preliminary support for OCaml code so that the infrastructu= re > can be used on the code of pfff itself. > > You can get the source of pfff and pfff_visual here: > http://github.com/facebook/pfff > > Here is how to install it: > $ git clone git@github.com:facebook/pfff.git > $ ./configure > $ make depend; make; make opt > $ ./pfff_visual /path/to/project/using/supported/languages > > pfff has been tested on MacOS and Linux and is licensed under the LGPL. > > Thanks to > - Lex Stein for ocamlbdb > - Olivier Andrieu for ocamlcairo > - Jacques Garrigue for ocamlgtk > - Martin Jambon, Mika Illouz and Gert Stolpmann for lib-json > - Nicolas Canasse for lib-xml > - Jane Street for lib-sexp > - Thomas Gazagnaire for dynType > - Maas-Maarten Zeeman for OUnit.ml > - Thorsten Ohl for xHTML.ml > - Sylvain Conchon, Jean-Christophe Filli=E2tre and Julien Signoles for > ocamlgraph > - Xavier Leroy for ocamlmpi > - Markus Mottl for ocamlpcre > - Iain Proctor for ocamlthrift > - Guillaume Cottenceau for pleac > > > Enjoy. > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > >