From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by sourceware.org (Postfix) with ESMTPS id CE9D03858C74 for ; Tue, 7 Nov 2023 10:51:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CE9D03858C74 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CE9D03858C74 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::634 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699354319; cv=none; b=vyqoJ6m1BEi7Vlr+esbVNfezB1YN19WvplkEQBqegSDz2ywm5HoRi25EI7ma/1ycH/h0p1DbiR26jATMGZHYp/WdevnmFymfQPWdMPd13D9jj5CKaK1ZFOz3k+YDJEDdYc7nnpLj0wPbCnltvmyGiA/aGty6PBJ+D22jG5uzVVQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699354319; c=relaxed/simple; bh=JZfZM+UYsISHgd0PUrd/k6TA6TGzX94lStzKsSsYELE=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=BY9DETYFAD8KQBV99QTEEIJcW7esZWbgx/1Z5HLUGryppWOL0pwxeB9/yLKUvW+Ml5U3W6q43Wyvm1sE7uPpv+gIXfhQ4AXLKj2nvoqz/j3OZQPyaTj77kIXsRTvOxgEshlL79INCF9FVnYRIb+p9G8V2S8CbxnaFk32xrUXupg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-9df8d0c556eso338193666b.2 for ; Tue, 07 Nov 2023 02:51:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699354316; x=1699959116; darn=sourceware.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Z5uy4ooS2V7NAA+qD/iMZK/wZdpF9Ct2ouzUOTkxVps=; b=Fj28KcKnUKs+hxwYO+cDKPg37UP2Zmc7rNdG8MMvNO+s72Lv0L0LgZKwB1WVR/pZZb Bl7jtdx3dv38bvPosWGdGsn26s67AOwHD5QsNrCyJs1RtdYyDpvJkMjiiIxcGvz8WJ/m pDg+TcFrvmS/zM0rXjKOs+DqoJOnXdMmT52ub1zQiaEYkvKqHzc8CIhL+fZr09RF24tm UysJs6XwRhNuIMvPj0mQQT+m6/UCIp/L6SZrRsiDFvFBoHr5cGEKwBnHAe6clos5p8H1 kGea1s+OZD+ztQzjE2ZK4GU9ZIpwvSL0mZECulVD7s1wQpuiwGADW7loigjFkR12r/I1 Osvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699354316; x=1699959116; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z5uy4ooS2V7NAA+qD/iMZK/wZdpF9Ct2ouzUOTkxVps=; b=aisP+r/BaOgyjTvo+psH+Bjwj41eipvXiho53MJI2ArFjdw9/fisHuP/ek1RPAEnwb QVSRkEbioch+fv3UN5wBBrl+TsBff0EMRffZYf3Zw13cA9tWm2HYyOBM/iem3AkcSazI tG4xdXSl+t8/fhuxxaj4yeUBfieu0CSbMirmVzo4Zqw75P5FR9Zc/GW8pNawoXF9r0v1 6gUygNMcG+Q/caQ99Iw6ssdTu9uYV7Z9hk8PpzA+whc+eZZCYYWKs//r2/LVGZQfDULH J8O7SNEOY5/Rxx5XKQnacNZquSlavbJuPoCdDO59jpQ6CUsH2V7tWybTFSRj6kKFiqTk yFkg== X-Gm-Message-State: AOJu0YxeVPa7xQKPhDNPMEZe58J6KWBNLc2tlB/hzY88IfS8uzwlQ7Y9 fmb6TNNmqe9JseQTMsIV6VgVm0liGEIV2isndgLmv9ExTfLNUQ== X-Google-Smtp-Source: AGHT+IFZjBZg7kEnQJCHRBkCHFrwyOB3SDAogY8VdVVlgDXvqJ+/LzVO22v1LE0X3GzAydbKF7XX0Jc1dNphrh/gIhY= X-Received: by 2002:a17:906:4788:b0:9b2:b9ff:dc35 with SMTP id cw8-20020a170906478800b009b2b9ffdc35mr16830148ejc.70.1699354315773; Tue, 07 Nov 2023 02:51:55 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Damien Mattei Date: Tue, 7 Nov 2023 11:51:43 +0100 Message-ID: Subject: Re: meaning of | in scheme To: kawa mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: i can avoid that with: tr -d '|' in shell: kawa curly-infix2prefix4kawa.scm ../AI_Deep_Learning/exo_retropropagationNhidden_layers_matrix_v2_by_vectors= 4kawa+.scm | tr -d '|' > ../AI_Deep_Learning/exo_retropropagationNhidden_layers_matrix= _v2_by_vectors4kawa.scm a solution for now to parse kawa code that import java method. On Tue, Nov 7, 2023 at 11:43=E2=80=AFAM Damien Mattei wrote: > > i'm annoying with some | | that appear sometimes in my parser but i do > not know where they came from > > #|kawa:2|# (|=E2=89=A0| 2 2) > #f > #|kawa:3|# |=E2=89=A0| > # > #|kawa:4|# |java.lang.Math:random| > /dev/tty:4:1: warning - no declaration seen for java.lang.Math:random > /dev/tty:4:1: unbound location: java.lang.Math:random > at gnu.mapping.DynamicLocation.get(DynamicLocation.java:36) > at atInteractiveLevel-35.run(tty:4) > at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:290) > at gnu.expr.ModuleExp.evalModule(ModuleExp.java:211) > at kawa.Shell.run(Shell.java:289) > at kawa.Shell.run(Shell.java:196) > at kawa.Shell.run(Shell.java:183) > at kawa.repl.processArgs(repl.java:724) > at kawa.repl.main(repl.java:830) > #|kawa:5|# java.lang.Math:random > Type double java.lang.Math.random() > #|kawa:6|# |sin| > # > > i can not remember exactly why some symbols are sometimes in | | in > scheme, this was not a problem with procedures but it behavior bad > with java method imported in kawa, see the error. > > and i can not find where it is generated in the parser (attached) > > why it does not offend scheme procedure? (and why is it a problem with > java imported methods) > > any idea?