From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) by sourceware.org (Postfix) with ESMTPS id AAE6D3850424 for ; Sun, 15 Nov 2020 02:42:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AAE6D3850424 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bothner.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=per@bothner.com Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ke809-0007GW-JR; Sun, 15 Nov 2020 03:42:49 +0100 Received: by submission03.runbox with esmtpsa [Authenticated alias (524175)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1ke801-0004Lq-4d; Sun, 15 Nov 2020 03:42:41 +0100 Subject: Re: When/how during compilation are bindings attached? To: Arvydas Silanskas , kawa mailing list References: From: Per Bothner Message-ID: Date: Sat, 14 Nov 2020 18:42:37 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: kawa@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Kawa mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2020 02:42:53 -0000 On 11/14/20 4:57 PM, Arvydas Silanskas via Kawa wrote: > I'm working with tracking of definition place for identifiers. For some > reason, found identifiers don't have binding information attached, do you > have insight why that could be? Here is standalone snippet (mostly based on > LSP in kawa source tree) You needs to add this (after getting the language): Language.setDefaults(language); Language.setDefaults is automatically called by Scheme.registerEnvironment. (I had to do a little experimentation and searching through the code ...) -- --Per Bothner per@bothner.com http://per.bothner.com/