From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: Multi-language scripts Date: Fri, 21 Aug 2020 19:47:53 -0700 Message-ID: References: <51831D7E-24F7-4C68-A418-EAEAA1C4D129@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12565"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Aug 22 04:48:11 2020 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 1k9JZj-0003Cr-1P for guile-user@m.gmane-mx.org; Sat, 22 Aug 2020 04:48:11 +0200 Original-Received: from localhost ([::1]:47714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9JZh-00041v-OX for guile-user@m.gmane-mx.org; Fri, 21 Aug 2020 22:48:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9JZX-00041o-Rt for guile-user@gnu.org; Fri, 21 Aug 2020 22:47:59 -0400 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:33353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9JZW-00079e-4z for guile-user@gnu.org; Fri, 21 Aug 2020 22:47:59 -0400 Original-Received: by mail-pj1-x102f.google.com with SMTP id q93so1612885pjq.0 for ; Fri, 21 Aug 2020 19:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=jFE+iMR/0P2WxsPTE9phpIiyMou31ucNlNYJd88Xtqg=; b=YPy73ZemgYfpN5UhDjt6iQwHp0glJADH1Am52KtX0NT/7yfD5roJSV9quRh/wisC2Z 2p5mzGXQBwE7PgjWZLYLKuNb2E43VA4/KPJuBfQqbMuvQ6LMWDG5eLhR1NR6dbBPXHTS WRyklVaLJhm5+OXlUTXRF45YpNF1DFh5IQd5S1h0Lxa4fG6Tm6qJ/5IXk2cfu2+ZFC73 yep7vTZNd9UUiDEjVLU4izFE/ydcHYOgVGvLezERIoZweqt0PnRYBeKytvOWAM8zAH6k 4ifDGIyvhlijNQZ1qD6VmRZ53p4iwt/nO1vc7Uj0scb+EDS9dJbWe/QlTn9/LSII3t49 zEdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=jFE+iMR/0P2WxsPTE9phpIiyMou31ucNlNYJd88Xtqg=; b=Z6NfZF5y0FgCj20uW/45ut2B7c5QDSTzkrwAi6BIAXY04A4NIOeQWrUuZFr3iG/Tbe UJPbl94QfsDI9Es/cM35507fMr7eH8gm/Amc3Q9cHIOcDTiG87k1ia51rhOmINQxCByS 1f9Ea+aHzLq5qlTmAavL0z9dj/EOQJmq6g1aDw7hMv6olJoigBh9wdTcYNwzfuC0cgMP Xn50ps5BqeAgE3F8kL52yLjlfByJOSVYnApYXxBoMKe7das7SquHPb6lLhsNLwv7U7Gr FGP5dfI4b7sj+T5oLakmc0S2/kicakHpz6pR1vwxkBpdSwyhOygqqM/E4fZZ0hJkQ8mq ATJw== X-Gm-Message-State: AOAM533B7BeoxRFlZQPLnMV3FnM+xolUDhQnsXVhv7PsAxWIO3ieq4Io Nzra/Gn70KE0JcioW1FRfJ8LP0OY0DTi2w== X-Google-Smtp-Source: ABdhPJx/sz/TUd1RVYZ+2Va6JphiVSJDhgn4n6LMyc3vFYyWJAPGO+xF4qfgSXZSm8eOg6Ewir285w== X-Received: by 2002:a17:90a:6843:: with SMTP id e3mr4899041pjm.89.1598064475790; Fri, 21 Aug 2020 19:47:55 -0700 (PDT) Original-Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id a8sm3452655pga.69.2020.08.21.19.47.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Aug 2020 19:47:55 -0700 (PDT) In-Reply-To: <51831D7E-24F7-4C68-A418-EAEAA1C4D129@gmail.com> Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=matt.wette@gmail.com; helo=mail-pj1-x102f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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:16823 Archived-At: On 8/21/20 12:17 PM, Stephen Scheck wrote: > Matt Wette wrote: > >> Did you try `guile --language=emacscript’? >> >> mwette$ cat zz.js >> display("hello\n”); >> >> mwette$ guile --language=ecmascript zz.js >> hello > The intent is that I want it to change language in the middle of the script. > > maybe this? (use-modules (system base language)) (current-language (lookup-language 'ecmascript))