From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eric Ludlam Newsgroups: gmane.emacs.devel Subject: Re: Semantic font-lock for Java Date: Sun, 2 Feb 2020 22:24:38 -0500 Message-ID: References: <83eevsx1eh.fsf@gnu.org> <83wo9jtncf.fsf@gnu.org> <83iml1s3od.fsf@gnu.org> <83k15grflg.fsf@gnu.org> <87tv4kyelp.fsf@randomsample> <83iml0r5fw.fsf@gnu.org> <87pnf8y4i8.fsf@randomsample> <878slr5wfu.fsf@randomsample> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="3964"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: Eli Zaretskii , emacs-devel@gnu.org To: Anand Tamariya , David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 03 04:25:20 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iySMS-0000vI-CN for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Feb 2020 04:25:20 +0100 Original-Received: from localhost ([::1]:33704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iySMR-0000th-Dq for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Feb 2020 22:25:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49162) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iySLr-0008SC-EA for emacs-devel@gnu.org; Sun, 02 Feb 2020 22:24:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iySLq-0008A2-Al for emacs-devel@gnu.org; Sun, 02 Feb 2020 22:24:43 -0500 Original-Received: from mail-qv1-f51.google.com ([209.85.219.51]:46093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iySLq-000882-6s; Sun, 02 Feb 2020 22:24:42 -0500 Original-Received: by mail-qv1-f51.google.com with SMTP id y2so6131752qvu.13; Sun, 02 Feb 2020 19:24:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XMVo5pvieu5k7iZKoKr7LM6lzAKDdfdZDUhCGrLX9T4=; b=SRHtvc7AGg1hWI9Qvbq3gAl30CrH9JVANja5W4Mv8H8YllUZC53UgZP09RhBY06h6M +5xdSsAixCA9tBlwmHdTvIdV3hTAUdb0VqM6gBOYNteMUN2K95/bwHdCKIugcDWVX0ty K41TiLgJ1QoxrzkOLqtg+TmR7NMIOPU2xWxRuvWLLt9jb9kBtM+N2BMfGPPHjcyrOcIP p+huh3VciJuGCR6bOpRasO3ceer7D3HfZC1oOk+0ZQBVzmhTpgxmiVzAbrl4RYQdR6LE hHjsXfwP/9U0n3Gghg26VdKYWk3XWqv32YGk1FOxheb6gwKP/ELq4uum42pH3qiSKVi3 Zo0A== X-Gm-Message-State: APjAAAVTI0AIx+UQV/xIbaurTwPP6BMcfrbwzycmU2cj0Q1aJhJ9SSyZ ecrfEysnWfWBe2Sb5DQEK+Elpzxl X-Google-Smtp-Source: APXvYqzuo0r6APpi5yQVO+2qbuxNqzCNfOVlWd8UV09JHGasNBVILEZ27GfgV26wz8KB/cGskIeNoA== X-Received: by 2002:a05:6214:13ef:: with SMTP id ch15mr21282733qvb.183.1580700280871; Sun, 02 Feb 2020 19:24:40 -0800 (PST) Original-Received: from [192.168.1.202] (pool-108-20-30-136.bstnma.fios.verizon.net. [108.20.30.136]) by smtp.googlemail.com with ESMTPSA id n3sm8683522qkn.105.2020.02.02.19.24.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Feb 2020 19:24:39 -0800 (PST) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.219.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244824 Archived-At: On 1/29/20 12:14 AM, Anand Tamariya wrote: > > https://youtu.be/4UcPIdTJLOM . > > Note that Semantic will cache the AST between sessions, so if you've > loaded that file before, it will just load the cache. > > First use parse/build delay is an inescapable and acceptable  situation > in Java world. Even popular IDEs like Eclipse do that. > While Emacs will only parse current and relevant files, Eclipse insists > on "building" the complete project. > > It is also > very old, and at that time (around Java 1.4 or so) the language was > still very easy to parse (it doesn't support generics, for instance). > > Additional info - I've added support for annotations and generics. It's > shown in the demo https://youtu.be/4UcPIdTJLOM?t=50 . > Only Enum is pending. > This is all very cool. Supporting font-lock had been often requested, seemed possible, but I never got to it. It's great to see the demo and that the tools were able to support it. Thanks for sharing. Eric