From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evgeniy Dushistov Newsgroups: gmane.emacs.devel,gmane.emacs.cedet Subject: Re: IDE Date: Fri, 23 Oct 2015 14:33:18 +0300 Message-ID: <20151023113318.GA14031@whiterain> References: <561E32D2.4060501@yandex.ru> <83wpum3ozk.fsf@gnu.org> <87si59ln6u.fsf@isaac.fritz.box> <56224B63.3010803@yandex.ru> <562592ED.1070104@siege-engine.com> <56262577.70107@yandex.ru> <562702C2.6070505@gmail.com> <56276ECE.3090508@yandex.ru> <56281747.9050305@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1445600032 1730 80.91.229.3 (23 Oct 2015 11:33:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 11:33:52 +0000 (UTC) Cc: John Wiegley , Eric Ludlam , emacs-devel@gnu.org, David Engster , Dmitry Gutov To: Eric Ludlam , cedet-devel@lists.sourceforge.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 23 13:33:38 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZpabK-0000dx-3L for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2015 13:33:38 +0200 Original-Received: from localhost ([::1]:37747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpabJ-0002kA-GJ for ged-emacs-devel@m.gmane.org; Fri, 23 Oct 2015 07:33:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpabD-0002k5-0e for emacs-devel@gnu.org; Fri, 23 Oct 2015 07:33:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpab9-0003fZ-JH for emacs-devel@gnu.org; Fri, 23 Oct 2015 07:33:30 -0400 Original-Received: from smtp33.i.mail.ru ([94.100.177.93]:55671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpab9-0003cn-3Z for emacs-devel@gnu.org; Fri, 23 Oct 2015 07:33:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=ItW+DwWUQukE6C7wJ5oNQoujhXpL+4AqjQrZWlsmbTM=; b=kD3YvPNpyLbcLE41Khj/fUmYronAd5WCE99g5T3cmAu2Wlpz89/swQOBP76xqaHcWbr1/7BugFkdcrYNuFS2Cc/k08IxMVYXyT0JtwO8I+z5F2D+q8SEyazeVemr5GUKZy8WgHwU0JSEcQ2VL9cfMhVBf41HTkHKv9CqjBl4B0s=; Original-Received: from [89.23.194.117] (port=42720 helo=whiterain) by smtp33.i.mail.ru with esmtpa (envelope-from ) id 1Zpab5-0004gC-49; Fri, 23 Oct 2015 14:33:24 +0300 Content-Disposition: inline In-Reply-To: <56281747.9050305@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Mras: Ok X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 94.100.177.93 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:192475 gmane.emacs.cedet:7278 Archived-At: On Wed, Oct 21, 2015 at 06:52:55PM -0400, Eric Ludlam wrote: > > Semantic doesn't demand it's parsers be in wisent, or even in Emacs at all. > If you have a nice Ruby grammar in Ruby, and you can convert it's internal > data into lisp-like syntax, pulling it into the Semantic system is pretty > easy. What you would loose is dynamic reparsing without having to save, > thus it may be a bit quirky. > Is any documentation about this: - format of data that Semantic understand - which hooks should be used to give this information to semantic, so it can use it to colorization, completition, tags navigation etc ? For example, if I write such code #include int main() { std::string str; } and call semantic-ia-fast-jump on "std::string" ede/cedet/semantic tell me "Could not find `string'. Jump to std?" It works in more simple case for std::vector, but fails with std::string. But if I ask emacs via rtags-find-symbol, all works fine and I see typedef basic_string string; So I think it would be good integrate rtags(https://github.com/Andersbakken/rtags) (or some another existing daemon) for such complex language as c++ and cedet. But I can not find any clear description for external parsers usage? -- /Evgeniy