From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re: Common Lisp support for Semantic? Date: Thu, 23 Jun 2011 07:28:09 -0400 Message-ID: <4E032349.9090901@siege-engine.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308836575 13542 80.91.229.12 (23 Jun 2011 13:42:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 13:42:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: David O'Toole Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 23 15:42:51 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZkBH-0007wG-7m for ged-emacs-devel@m.gmane.org; Thu, 23 Jun 2011 15:42:51 +0200 Original-Received: from localhost ([::1]:45435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZkBG-0000Wo-AA for ged-emacs-devel@m.gmane.org; Thu, 23 Jun 2011 09:42:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZi54-00044W-31 for emacs-devel@gnu.org; Thu, 23 Jun 2011 07:28:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZi52-00033N-Qy for emacs-devel@gnu.org; Thu, 23 Jun 2011 07:28:17 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:39446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZi52-000334-Aj for emacs-devel@gnu.org; Thu, 23 Jun 2011 07:28:16 -0400 Original-Received: by vxg38 with SMTP id 38so1616087vxg.0 for ; Thu, 23 Jun 2011 04:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=4ABM30VgURkYCl+tcNqWt3queD3JiT4zaL/yTpxi5Cc=; b=s6apPI4WN0EiEhH5CgyfNI0HMq1dpSdjmTOIC6T690WT3VBBPfPOecROo3Ja2N6xnd fotxzHkgvEIl3+gPMGDqgp5tmvJrfHTR8PURiZcmjzWfLu904BNktcslWF7H196KzRWi hQGwMXuqf6kf/hn/M8z3F5QZzcIDre+mE/Ays= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=puUyNhqWKtDbbemgdcZfnW7D0JsTgUv8Fr9uYFyLiIqu6CD1CS1ERSKepd56YXmC+1 +nLEunR1e0EvRw016liCG+mf+wd6NEQDFoI9KjwFNob/FzE/ZSOEdNf7DZ+rPWHjT/Fv k28PwfBja2jZieEJDd8ghcl+/PhN7Oj5NhVmo= Original-Received: by 10.52.74.98 with SMTP id s2mr2461141vdv.277.1308828493779; Thu, 23 Jun 2011 04:28:13 -0700 (PDT) Original-Received: from [192.168.1.201] (pool-71-184-213-178.bstnma.fios.verizon.net [71.184.213.178]) by mx.google.com with ESMTPS id dq5sm897758vbb.16.2011.06.23.04.28.10 (version=SSLv3 cipher=OTHER); Thu, 23 Jun 2011 04:28:11 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20091222 Shredder/3.1a1pre In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-Mailman-Approved-At: Thu, 23 Jun 2011 08:49:51 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140920 Archived-At: On 06/20/2011 11:42 AM, David O'Toole wrote: > Hello there, I took a peek at the Emacs Lisp parser for Semantic > (interestingly, the file is named "el.el" :) > > It seems that I could make a version of this that supports Common > Lisp. A few questions: > > 1. Has anyone else already done this? > 2. If not, should I start by making a copy of el.el and then changing > it to work with Common Lisp? Or, should I try to make el.el support > both languages by branching just at the points where syntax differs? el.el already hooks into Lisp buffers and I have been told it works ok. To get better lisp support would mean abandoning the Emacs Lisp parser all together as it eventually calls Emacs' 'read' function. As such, Jan Moringen's suggestion is best. Eric