From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Witmer Newsgroups: gmane.lisp.guile.user Subject: guile-xcb Date: Sat, 16 Feb 2013 21:00:02 -0500 Message-ID: <87621rya1p.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361067813 14609 80.91.229.3 (17 Feb 2013 02:23:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2013 02:23:33 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Feb 17 03:23:55 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U6tv1-0004t3-4J for guile-user@m.gmane.org; Sun, 17 Feb 2013 03:23:55 +0100 Original-Received: from localhost ([::1]:47488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6tug-0005zL-Qq for guile-user@m.gmane.org; Sat, 16 Feb 2013 21:23:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6tuZ-0005z3-Va for guile-user@gnu.org; Sat, 16 Feb 2013 21:23:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6tuX-0005Pd-Lw for guile-user@gnu.org; Sat, 16 Feb 2013 21:23:27 -0500 Original-Received: from mail-gg0-x22b.google.com ([2607:f8b0:4002:c02::22b]:64309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6tuX-0005PZ-GO for guile-user@gnu.org; Sat, 16 Feb 2013 21:23:25 -0500 Original-Received: by mail-gg0-f171.google.com with SMTP id j1so371360ggn.30 for ; Sat, 16 Feb 2013 18:23:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=DHe9FccfJbJi/4qESJdXJ9D5Y7GyoJxaQEaypdSFJV0=; b=xC43Wo9Eo9M8+18rCVhVDV2mlnkZdl7eaz8WEuGdwj/EENglQJ/9hT5/OkGg9QPRpv DPvI57rr3J54nAnRkV3cHFA8Kz9mZSSthLI1hwmd2pyccRp5OtngE7lLB/DSk0aH7IDk JLbC3fDbuUwlPV25deeIEbcC7wCKjamMGvDYbv7oTuX6vA2n6gUK+MRoJKb8J7iDdmeI Ze2o0AkSAsouAJUyPRxrQw68Ju3ou+Ss0xZVy92Oi5qvA+g/tqjZpBbChcnjNyurk++p TIch2hNQ6pi4MW3uqJVSJjIin7Qh5TYeZ3LWaLmn0FArE0mWts4qKOIIdehqiHieT2UL QsWw== X-Received: by 10.236.149.74 with SMTP id w50mr11838439yhj.129.1361066412532; Sat, 16 Feb 2013 18:00:12 -0800 (PST) Original-Received: from localhost (cblmdm72-241-178-123.buckeyecom.net. [72.241.178.123]) by mx.google.com with ESMTPS id s34sm81894703yhe.9.2013.02.16.18.00.02 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 16 Feb 2013 18:00:03 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c02::22b X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10107 Archived-At: Hi all, I started writing my guile-xcb bidings too late to have them ready for today, but I thought I'd describe what's coming... guile-xcb is a language implemented in the Guile VM that parses the XML files used by the xcb project to specify the X protocol and compiles them into Guile modules containing all the methods and data needed to send requests to the X server and receive replies/events back. If new X extensions are added to the xcb library, guile-xcb can compile and add them with no additional work. It uses a tiny bit of C code right now, to ensure that addition/bit-shifting/etc. operate exactly like they normally would in plain C. I'm open to suggestions on how to do this properly in Scheme; it would be great if this were a pure Scheme module and could go up in a Guildhall repo. The code is up at https://github.com/mwitmer/guile-xcb, though you'll see that it's far from complete. But I'll keep hacking away at it! Thanks to everyone for the awesome work being done on the Guile core and all the exciting projects cropping up around it. I've learned a lot by following this list and guile-devel. -- Mark Witmer