From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.user Subject: Re: GuileScript 0.0.0 released Date: Tue, 18 Jan 2022 00:12:50 -0800 Message-ID: References: <875yqhfowc.fsf@ruhr-uni-bochum.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37299"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: =?UTF-8?Q?Daniel_Mei=C3=9Fner?= Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Jan 18 09:29:28 2022 Return-path: Envelope-to: guile-user@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 1n9jrs-0009XK-1x for guile-user@m.gmane-mx.org; Tue, 18 Jan 2022 09:29:28 +0100 Original-Received: from localhost ([::1]:45198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9jrr-0008P8-1v for guile-user@m.gmane-mx.org; Tue, 18 Jan 2022 03:29:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9jc2-0004yL-3A for guile-user@gnu.org; Tue, 18 Jan 2022 03:13:07 -0500 Original-Received: from [2607:f8b0:4864:20::52f] (port=45713 helo=mail-pg1-x52f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9jc0-00037f-Gv for guile-user@gnu.org; Tue, 18 Jan 2022 03:13:05 -0500 Original-Received: by mail-pg1-x52f.google.com with SMTP id c5so13223233pgk.12 for ; Tue, 18 Jan 2022 00:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rHyTEvIieI5RI6dSCHIZf+2m8klf9+h0XUfuGhpC5v0=; b=jMj7pjlItJ1bvKPJ6/UZn+Yrb0UhaNtDkdCC3N5crW7GidCiImSJqmo1jxy95pbzpw UksJ7J+cUmtK/y+TBaxo7bpLbZh3E2WwSDRvcVMAR1Gq/f0j1cQ99atzyvBjQxM3Sr3V MssMIlQpyaDYbLJ8gMg59geLeNrW3n1w0R/ViwowpGuz0gIXyk5FyIEQZYI+ZP8glho7 H40QAwsIGbq/aUHe7m5t3mR21e0I/9H3QGmZSIen9cGWUZgfRc+2fwjD36jyqK1YZRPj awFpeXRFfvClECFWpzxruwZ5+murOgkjMmcmHdWYpviJb1XEpWlbK/hGgxJp8Or+ntyM CRYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rHyTEvIieI5RI6dSCHIZf+2m8klf9+h0XUfuGhpC5v0=; b=LHbln9Ztu4pnODi6T2jRz7cz2YM5lXM9nSwOm7BPHrfdHsxYSLv2C6q8vAsQpCN/aQ LAmgREUkyKZZVsPOzK8AY0T00tg6wIKzdTvWiMe1M/EKo9YFQiKcAiHjvKN9szfc7jVA Ya9RQ7nkTnq59Ygdffk8U/S0kJvppQ85Epj9oJYjEOBOB557JlwUnSFnXgayyGtpoXsl DGAlMMsDZ6B+nkUu3LOEv51EGLOsKOfUpIFJ1TvCA3Fx9Gv7yyunrvQVm2rnvykrC5qL V5nFWUCV6rEz5eVobR8DiUG43skxtpojQCi0luZU3ukyaaFnTgVAD028Jp3iuutw7+q6 8v1A== X-Gm-Message-State: AOAM533hL/RDfwD40BMvSdu5hX7jnNR+jR87xcFbWaQQ5vCYQyg4GKj4 tmJGDxHPWAK520zgGBy6C5UYsvUC+OhKzuhoApZ0Ak5z X-Google-Smtp-Source: ABdhPJwglYVSZO2RvTIqKuRv7EAQ+iqTk62B9SVKPDfbVHCLIkthU0829JYvbKfLWK1La6jmL4erhgHLNK5HhOUqRLA= X-Received: by 2002:a63:8c07:: with SMTP id m7mr22293899pgd.496.1642493582977; Tue, 18 Jan 2022 00:13:02 -0800 (PST) In-Reply-To: <875yqhfowc.fsf@ruhr-uni-bochum.de> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=aconchillo@gmail.com; helo=mail-pg1-x52f.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17966 Archived-At: Hi Daniel, Yes, I was thinking adding support for interacting with the DOM at some point. Many cool things can be done. Thanks for the interest! Aleix On Tue, Jan 18, 2022, 12:07 AM Daniel Mei=C3=9Fner < daniel.meissner-i4k@ruhr-uni-bochum.de> wrote: > Hi Aleix, > > this is so cool, thanks for sharing! Do you have any plans on adding > some simple WebAPI support? I mean something along the following would > be very cool: > > (render (document:query-selector ".app") > `(form (h1 ,title) > (input (@ (type "text"))) > (input (@ (type "submit"))))) > > compiles to: > > const target =3D document.querySelector(".app"); > const el1 =3D document.createElement("form"); > const el2 =3D document.createElement("h1"); > el2.innerText =3D title; > const el3 =3D document.createElement("input"); > el3.setAttribute("type", "text"); > const el4 =3D document.createElement("input"); > el4.setAttribute("type", "submit"); > el1.append(el2, el3, el4); > > I imagine having a lot of fun writing a Browser web app in Guile :-) > > Best > Daniel >