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: run compiled (*.go) file from command line? Date: Tue, 17 Nov 2020 16:44:55 -0800 Message-ID: <14617a07-044c-34f8-2267-1e57a7f775b5@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35939"; 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 Wed Nov 18 01:45:46 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 1kfBbW-0009ES-2X for guile-user@m.gmane-mx.org; Wed, 18 Nov 2020 01:45:46 +0100 Original-Received: from localhost ([::1]:58346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfBbV-0000rU-5N for guile-user@m.gmane-mx.org; Tue, 17 Nov 2020 19:45:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfBam-0000po-VA for guile-user@gnu.org; Tue, 17 Nov 2020 19:45:01 -0500 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:42147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfBal-0005UZ-Az for guile-user@gnu.org; Tue, 17 Nov 2020 19:45:00 -0500 Original-Received: by mail-pl1-x634.google.com with SMTP id s2so38995plr.9 for ; Tue, 17 Nov 2020 16:44:58 -0800 (PST) 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=DRYkF54s9ou7grhwMj5wAb51Nfx0u3bQyGaymAaKzm4=; b=FkTLQvXbXB9lruX6NHvB2rwAjFkCXjYwyxvrF+Lssw17mm/f9QLRp/ejwLofLzHmk0 mcTQVcTv0eZITwC8vdqEK/jSDlpAvQAgarD8dUSc8B3bDzNVqOxwOzdHumUikEDINvCz XX0bOIxZwUSWRclfOHQla6Y44PgMnIIOAPaNvL9aptcy967Y+N4nxIvRhoLM5/3m319r qJK/0VoVhsYBZ8JdnUsBf6Sxzd8lrRavphbrcPcAuc4mHPNtw624/oHQX9uJwQLwoUxV 1BjBsG9xFHiHjJAO+I1IV0aDd8ilPOqdi6TaF8gpxbp5vPJG++tr2yvcug7+HraZSsV4 r8Uw== 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=DRYkF54s9ou7grhwMj5wAb51Nfx0u3bQyGaymAaKzm4=; b=LWQjOhHhAK3Pq4pe2ZMJsswrfGzpU+og0t8bNsa1SgaS+VHyfcMy8JxQuwirWhXBe/ QjJEoHHvNNW8X9uezxsjOxng/m6uA/DxYBegm+34cnB/CDgf3Qic11IZXyJERz/ABGOj zX982bq9aLoSkiSi0BBTOK/Q0jtzXaVM6ArdEgwUPqjfLTk6STLllv4Q8eVgeAaZx9cW kfJ1cAM5TjpBE6D5tgryjbmLFHoTai/wuqbqhTM1V7WesFTuRNPGOk35L6wtU+oIuews p7pcSTv3Br2SzCvCX1IZUkvEF4TYZ92WY0vtZ188qu/pwK+8TJKHUNmwB2iC8tRtOIoo SYog== X-Gm-Message-State: AOAM532eDCf6aRJGJk6OUWYnVVG9FS2UjCNz0/6lSG9RtHEpuhelxZEv VhW5DCD6C9t4HVbkSNV+KwoCwZL9MBI= X-Google-Smtp-Source: ABdhPJyKq7q4pCP/ugZoCT/cXXXmQr2+w45w8qqk0i2RIZRB+P8QRHDMFY91PtWoQdosaY0Pk69pvg== X-Received: by 2002:a17:902:6546:b029:d8:f81c:ef8c with SMTP id d6-20020a1709026546b02900d8f81cef8cmr2124764pln.31.1605660297094; Tue, 17 Nov 2020 16:44:57 -0800 (PST) Original-Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id u14sm22619006pfc.87.2020.11.17.16.44.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Nov 2020 16:44:56 -0800 (PST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=matt.wette@gmail.com; helo=mail-pl1-x634.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, NICE_REPLY_A=-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:17026 Archived-At: On 11/17/20 4:08 PM, Tim Meehan wrote: > Is it possible to run a compiled file from the command line with "guile"? > I'm assuming that it was compiled with something like: > guild compile --output=whatever.go whatever.scm > > Or is it possible to just make an executable file out of "whatever.scm"? > > Thx $ cat hello.scm (display "hello, world\n") $ guild compile -o hello.go hello.scm wrote `hello.go' $ guile -c '(load-compiled "hello.go")' hello, world