From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15601 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Extending metapost Date: Mon, 28 Jun 2004 10:40:35 +0200 Organization: Elvenkind Sender: ntg-context-admin@ntg.nl Message-ID: <20040628104035.018602bf@glenlivet.elvenkind.com> References: <"m2hdtw92rn.fs f"@levana.de> <6.1.1.1.2.20040601200608.01eb9640@server-1> <"m2n032tvs8.fs f"@levana.de> <20040622161300.GA5608@swordfish> <34371.80.58.5.46.1087924408.squirrel@bitmail.bitmailer.com> <0D45B077-C4DA-11D8-972E-000A9595B57C@ensta.fr> <40D944A4.5030402@gmx.de> <43DEE2EE-C510-11D8-972E-000A9595B57C@ensta.fr> <72D4BC80-C612-11D8-9706-0030659899AA@fiee.net> <40DC4CDF.2090904@wxs.nl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1088412363 1660 80.91.224.253 (28 Jun 2004 08:46:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Jun 2004 08:46:03 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Jun 28 10:45:54 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Berly-0003DQ-00 for ; Mon, 28 Jun 2004 10:45:54 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 511D510B52; Mon, 28 Jun 2004 10:45:51 +0200 (MEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ref.ntg.nl (Postfix) with ESMTP id 20D4E10AE8 for ; Mon, 28 Jun 2004 10:40:37 +0200 (MEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 5BBB5176CA for ; Mon, 28 Jun 2004 10:38:39 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18751-08 for ; Mon, 28 Jun 2004 10:38:38 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with SMTP id 855225BB5 for ; Mon, 28 Jun 2004 10:38:38 +0200 (CEST) Original-To: ntg-context@ntg.nl In-Reply-To: <40DC4CDF.2090904@wxs.nl> X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i586-mandrake-linux-gnu) X-Virus-Scanned: by amavisd-new at elvenkind.net Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15601 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15601 Hi Hans, group, I saw this passing by in another thread, and since I am myself currently working on a C port of metapost: > (and ... i also want to look into extending tex and metapost) What kind of extensions to metapost do you (or anyone else) have in mind? Progress update: Work on the C port of MP is coming along nicely. Work progress is fairly slow because I have to make change quite a lot of small changes to the code. I expect to have a 'working' test executable in about 3 or 4 weeks. libMP will have (at least) the following changes wrt. the Web source code: - C strings instead of a string pool ( and no pool file). - A "struct METAPOST" instance that gets moved around, instead of global variables (libMP will be thread-safe) - A namespace for all externally visible procedures and enums (prefix 'mp') - mp_initialize() and mp_finish() calls to allow clean restarts. - All file I/O will be configurable (through callbacks) - PostScript output will be isolated from the other output. (to allow other output backends in the future). -- groeten, Taco