From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id D9453BBAF for ; Fri, 3 Oct 2008 17:22:11 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhUDAHvV5UjAXQIniGdsb2JhbACTYQEBARUioDGIAgM X-IronPort-AV: E=Sophos;i="4.33,357,1220220000"; d="scan'208";a="17632781" Received: from concorde.inria.fr ([192.93.2.39]) by mail3-smtp-sop.national.inria.fr with ESMTP; 03 Oct 2008 17:22:11 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m93FMALZ029219 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 3 Oct 2008 17:22:11 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhsBADzV5UjOvjGtmmdsb2JhbACTYQEBAQEBCAsKBxEDoCqIAgM X-IronPort-AV: E=Sophos;i="4.33,357,1220220000"; d="scan'208";a="29874816" Received: from web54603.mail.re2.yahoo.com ([206.190.49.173]) by mail4-smtp-sop.national.inria.fr with SMTP; 03 Oct 2008 17:22:10 +0200 Received: (qmail 50107 invoked by uid 60001); 3 Oct 2008 15:22:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=5AewXG1hyXp5bOWSBprEJuwyhDctREmR4BrXpTpwen3+K4lHHohj95V4UoyAUnMEQhAeWOceJgh5UsIGnUoGnGiSCT19XJQ/4HRJAC7cr0C/cH2PRm8mhMOZMB+l7KzfvSoHCK473gQ+beYDSjTTFYCSfIelQ58e/kq6S5LkWf4=; X-YMail-OSG: cLRJkikVM1mBLyIIdXjRw4.TNbDBl9.J4NE.TnlCeovxUmAtm.8UIUT.E6jaDAzDdmAD.aB0CZK6gt0jqPv7mA.uARQUzymF2nK.Go3CcCjB9HiLB23g222L19Avzee2aKm2XCzvGx8PkBvvla2MEE6dMGpZ.w-- Received: from [213.205.71.62] by web54603.mail.re2.yahoo.com via HTTP; Fri, 03 Oct 2008 08:22:09 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Fri, 3 Oct 2008 08:22:09 -0700 (PDT) From: Dario Teixeira Subject: Re: [Caml-list] Syntax highlighting and Ocaml/PHP integration To: caml-list@inria.fr In-Reply-To: <650721.83058.qm@web54605.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <410058.49071.qm@web54603.mail.re2.yahoo.com> X-Miltered: at concorde with ID 48E638A3.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; syntax:01 ocaml:01 syntax:01 ocaml:01 bindings:01 cheers:01 caml-list:01 native:03 seems:03 languages:03 languages:03 programming:03 gnu:03 library:03 library:03 Hi, > I'm looking for a GPL-compatible syntax highlighting library > with support for most common programming languages and markups. > Obviously I would prefer a native Ocaml library, though > something in C would also be acceptable due the relative ease > of writing bindings. Thank you all for your replies. GNU source-highlight seems like the best long term solution, though currently the set of languages it supports it's still limited. For the time being, however, I'll be using Martin's cool Vim hack... Cheers, Dario =0A=0A=0A