<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gammapedia.kuschelyagi.com/index.php?action=history&amp;feed=atom&amp;title=User%3AAbwayax%2FSmeth_language_sketch</id>
	<title>User:Abwayax/Smeth language sketch - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gammapedia.kuschelyagi.com/index.php?action=history&amp;feed=atom&amp;title=User%3AAbwayax%2FSmeth_language_sketch"/>
	<link rel="alternate" type="text/html" href="https://gammapedia.kuschelyagi.com/index.php?title=User:Abwayax/Smeth_language_sketch&amp;action=history"/>
	<updated>2026-04-12T09:03:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://gammapedia.kuschelyagi.com/index.php?title=User:Abwayax/Smeth_language_sketch&amp;diff=5019&amp;oldid=prev</id>
		<title>24.243.12.186 at 07:21, 21 February 2007</title>
		<link rel="alternate" type="text/html" href="https://gammapedia.kuschelyagi.com/index.php?title=User:Abwayax/Smeth_language_sketch&amp;diff=5019&amp;oldid=prev"/>
		<updated>2007-02-21T07:21:02Z</updated>

		<summary type="html">&lt;p&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:21, 21 February 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l36&quot;&gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Print foo 2, 3, 4.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Print foo 2, 3, 4.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Functions that take one parameter and return a truth value can be used as such:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; Declare function even with parameter number:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 	Return 0 equals number modulo 2. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; If n is even, print &quot;n is even!&quot;, else, print &quot;n is odd!&quot;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Array creation, access, and modification===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Array creation, access, and modification===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Set odds to 1, 3, 5, 7, 9, 10.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Set odds to 1, 3, 5, 7, 9, 10.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key abwayax_gamma-wiki_:diff:1.41:old-5017:rev-5019:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>24.243.12.186</name></author>
	</entry>
	<entry>
		<id>https://gammapedia.kuschelyagi.com/index.php?title=User:Abwayax/Smeth_language_sketch&amp;diff=5017&amp;oldid=prev</id>
		<title>24.243.12.186 at 06:58, 21 February 2007</title>
		<link rel="alternate" type="text/html" href="https://gammapedia.kuschelyagi.com/index.php?title=User:Abwayax/Smeth_language_sketch&amp;diff=5017&amp;oldid=prev"/>
		<updated>2007-02-21T06:58:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The goal of the &amp;#039;&amp;#039;&amp;#039;Smeth&amp;#039;&amp;#039;&amp;#039; project is to create a programming language that resembles the English language as much as possible.&lt;br /&gt;
&lt;br /&gt;
==Basic syntax rules==&lt;br /&gt;
Smeth syntax closely follows English grammar. &lt;br /&gt;
* Statements begin with a capital letter and end with a period.&lt;br /&gt;
* Multiple statements are chained together by commas, with the final statement ending in a period.&lt;br /&gt;
* Variables are case-sensitive.&lt;br /&gt;
* Parentheses act as comment delimiters outside of statements. Inside of statements they group expressions.&lt;br /&gt;
&lt;br /&gt;
===Hello world program===&lt;br /&gt;
 Print &amp;quot;Hello world!&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Setting variables===&lt;br /&gt;
 Set x to 3 * x + 1.&lt;br /&gt;
&lt;br /&gt;
===If statement example===&lt;br /&gt;
 If x equals 3 * x + 1, then print &amp;quot;Awesome&amp;quot;, else, print &amp;quot;No way!&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Multiple lines====&lt;br /&gt;
 If answer equals 42 and answer equals 6 * 9:&lt;br /&gt;
 	Print &amp;quot;That&amp;#039;s it. That&amp;#039;s all there is.&amp;quot;,&lt;br /&gt;
 	Set marvin to &amp;quot;Paranoid Android&amp;quot;,&lt;br /&gt;
 	Print marvin,&lt;br /&gt;
 	Print answer.&lt;br /&gt;
&lt;br /&gt;
===For loop example===&lt;br /&gt;
 Loop i from 1 to 10, increasing i by 1: Print i.&lt;br /&gt;
&lt;br /&gt;
===While loop example===&lt;br /&gt;
 While i is less than 10, increase i by 1. (You could also write &amp;quot;Set i equal to i + 1.&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
===Function declaration===&lt;br /&gt;
 Declare function foo with parameters bar, baz, qux:&lt;br /&gt;
 	Return bar + baz + qux.&lt;br /&gt;
&lt;br /&gt;
 Print foo 2, 3, 4.&lt;br /&gt;
&lt;br /&gt;
===Array creation, access, and modification===&lt;br /&gt;
 Set odds to 1, 3, 5, 7, 9, 10.&lt;br /&gt;
 Remove element 6 from odds. (odds now has 1, 3, 5, 7, 9)&lt;br /&gt;
 Add 11 to odds. (odds has 1, 3, 5, 7, 9, 11)&lt;br /&gt;
 Set element 6 in odds to 13. (odds = 1, 3, 5, 7, 9, 13)&lt;br /&gt;
 Add 11 to odds at position 6. (odds = 1, 3, 5, 7, 9, 11, 13)&lt;br /&gt;
 Print element 0 in odds. (prints 1)&lt;br /&gt;
 Print odds. (prints 1, 3, 5, 7, 9, 11, 13)&lt;br /&gt;
&lt;br /&gt;
===Foreach loop===&lt;br /&gt;
 For each element e in odds, print e.&lt;br /&gt;
&lt;br /&gt;
====Multiline version====&lt;br /&gt;
 For each element e in odds:&lt;br /&gt;
 	Print e,&lt;br /&gt;
 	Print e + 1,&lt;br /&gt;
 	Print foo e, e+2, e+4.&lt;/div&gt;</summary>
		<author><name>24.243.12.186</name></author>
	</entry>
</feed>