<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=Scheme_hello_world</id>
	<title>Scheme hello world - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=Scheme_hello_world"/>
	<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=Scheme_hello_world&amp;action=history"/>
	<updated>2026-06-02T21:54:44Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=Scheme_hello_world&amp;diff=3762&amp;oldid=prev</id>
		<title>Riguz：​Riguz移动页面Blog:Scheme语言的hello world至Scheme hello world，不留重定向</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=Scheme_hello_world&amp;diff=3762&amp;oldid=prev"/>
		<updated>2023-12-19T05:50:15Z</updated>

		<summary type="html">&lt;p&gt;Riguz移动页面&lt;a href=&quot;/index.php?title=Blog:Scheme%E8%AF%AD%E8%A8%80%E7%9A%84hello_world&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Blog:Scheme语言的hello world（页面不存在）&quot;&gt;Blog:Scheme语言的hello world&lt;/a&gt;至&lt;a href=&quot;/Scheme_hello_world&quot; title=&quot;Scheme hello world&quot;&gt;Scheme hello world&lt;/a&gt;，不留重定向&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2023年12月19日 (二) 05:50的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki_db:diff:1.41:old-2501:rev-3762 --&gt;
&lt;/table&gt;</summary>
		<author><name>Riguz</name></author>
	</entry>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=Scheme_hello_world&amp;diff=2501&amp;oldid=prev</id>
		<title>imported&gt;Riguz：​最近准备创建一个简单的基于JVM的新语言，但在语法设计上犹豫不决，研究了一些资料后，觉得可能Lisp正是我所追求的清晰、简单、优雅的语法参考，因此决定深入了解一下Scheme。</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=Scheme_hello_world&amp;diff=2501&amp;oldid=prev"/>
		<updated>2021-01-05T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;最近准备创建一个简单的基于JVM的新语言，但在语法设计上犹豫不决，研究了一些资料后，觉得可能Lisp正是我所追求的清晰、简单、优雅的语法参考，因此决定深入了解一下Scheme。&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;最近准备创建一个简单的基于JVM的新语言，但在语法设计上犹豫不决，研究了一些资料后，觉得可能Lisp正是我所追求的清晰、简单、优雅的语法参考，因此决定深入了解一下Scheme。&lt;br /&gt;
&lt;br /&gt;
= 开发环境配置=&lt;br /&gt;
== 运行环境==&lt;br /&gt;
编译安装[https://github.com/cisco/ChezScheme ChezScheme]，据说是最好的scheme实现。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone https://github.com/cisco/ChezScheme.git&lt;br /&gt;
cd ChezScheme&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
完成之后应该就可以来写一个hello world了：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Chez Scheme Version 9.5.5&lt;br /&gt;
Copyright 1984-2020 Cisco Systems, Inc.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; (+ 1 1)&lt;br /&gt;
2&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; (display &amp;quot;Hello world&amp;quot;)&lt;br /&gt;
Hello world&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Visual studio code==&lt;br /&gt;
&lt;br /&gt;
需要安装两个插件&lt;br /&gt;
&lt;br /&gt;
* vscode-scheme&lt;br /&gt;
* Code Runner&lt;br /&gt;
&lt;br /&gt;
然后在settings中查找&amp;quot;Code-runner: Executor Map&amp;quot;，修改其中的scheme命令行：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;code-runner.executorMap&amp;quot;: {&lt;br /&gt;
    &amp;quot;scheme&amp;quot;: &amp;quot;scheme --script&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
参考：&lt;br /&gt;
&lt;br /&gt;
* [https://www.yinwang.org/blog-cn/2013/04/11/scheme-setup Scheme 编程环境的设置]&lt;/div&gt;</summary>
		<author><name>imported&gt;Riguz</name></author>
	</entry>
</feed>