From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by sourceware.org (Postfix) with ESMTPS id 87C973858D32 for ; Sat, 30 Sep 2023 18:22:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 87C973858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-533c8f8f91dso16709431a12.0 for ; Sat, 30 Sep 2023 11:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696098119; x=1696702919; darn=sourceware.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MeieITYnt1zOVDEp0YQA7KYm3W2UP91fCxUHdNaZNM0=; b=XGL1Gpl67AUdbB11AwSg7+q6R7PwDM7hgDM2TRlljA9tmH9I8kJsImQf8jnCg14Cfi oVbPMruUPOh4dr3eI7NkW825L6LVZDCUgR5Vj02lB7fRP9D8nxZ//KshB/de7iO6iZ9z lXwPPb33AupXQLgpDqv10wlark2i1gxwdORD7EJn/7a3JRR4cxvYFIayBTR40Ykl8v8B LKSDm2oUdjjE5zdR3j/JI3/S0tX4UJ4ZFaWDpXXzSWjtWiTCRVtzbKlYcX2YxJ8kuHuC TYGVcBOOYr8G51gCkMXPeYbzYpXmEex5X8Ww4/ssRJzNluuXF5nfq4GNxiZai3lC0d6J 2rAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696098119; x=1696702919; h=content-transfer-encoding:cc: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=MeieITYnt1zOVDEp0YQA7KYm3W2UP91fCxUHdNaZNM0=; b=ZKnmr3RaAG6bU2G0QTyWrvEyc/EieVnjmvpbMQnHyoVqkloXT/66qmDBREnbCTRUnl qTmqtfuOotJuDwI0xm57DAPXxg8cY33f+411NTipdE4sLOfAUbCsNCozaVU86mlnCbSI ATVYIngygSqV6o4cYsvMLexAOx/6S7XzZZZNL8gSFBX5JZGsuUSczwfYgpGey064h6ts 9ymP0m/loCduy4+sjx694oNivN+zwpRBM59mXYphAUPY1TyTPhhwZJGu/IJL3n0z1RRu E4bL+5HvVwkD7/eAfXsFtSK+xVszTokMbPUjDx6VL94L+3lJbum+9R7Xkx6Us3D0Ezu1 nX6w== X-Gm-Message-State: AOJu0YyzFW+qC7Ch1FXjhx7VNMTVdc2Kem0pO99XLOuF9CWRlDUDihZl Mu0xgAEMCEH5ifbxLyobSvqLuD/qvl7cTVPGL5s= X-Google-Smtp-Source: AGHT+IHt+O1v18kpgFY/Wl1XFCXfkqE1lPNGOsq2xBXC5gY7GplWi1DErxREwrzu7P6vptFrHqKHVg59hgzQRCwIcXc= X-Received: by 2002:a50:fb07:0:b0:534:6668:605b with SMTP id d7-20020a50fb07000000b005346668605bmr6433716edq.22.1696098118947; Sat, 30 Sep 2023 11:21:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Damien Mattei Date: Sat, 30 Sep 2023 20:21:47 +0200 Message-ID: Subject: Re: simple main example hello world To: Per Bothner , Jamison Hope Cc: kawa@sourceware.org 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,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: thank you the simplest example works: (display "hello") (newline) (format #t "The command-line was:~{ ~w~}~%" (command-line)) kawa test.scm i see kawa use some syntax extension such as []: '((main args::String[])::void allocation: 'static (display "hello")) that expands in curly-infix reader as: '((main args::String ()) ::void allocation: 'static (display "hello")) is there a way to replace String[] in kawa by something that does not use [= ] ? On Sat, Sep 30, 2023 at 6:03=E2=80=AFPM Per Bothner wrote= : > > As Jamison wrote - this can be the entirety of your test.scm: > > (display "hello") (newline) > > More information and suggestions here: > https://www.gnu.org/software/kawa/Scripts.html > > -- > --Per Bothner > per@bothner.com http://per.bothner.com/