<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Preprocessor</title><link>https://sourceforge.net/p/openpearl/wiki/Preprocessor/</link><description>Recent changes to Preprocessor</description><atom:link href="https://sourceforge.net/p/openpearl/wiki/Preprocessor/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 29 Dec 2021 11:12:17 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/openpearl/wiki/Preprocessor/feed" rel="self" type="application/rss+xml"/><item><title>Preprocessor modified by Marcel Schaible</title><link>https://sourceforge.net/p/openpearl/wiki/Preprocessor/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,6 +1,6 @@
 # Preprocessor

-The compilershould provide an included preprocessor like e.g. C preprocessor. It is inspired by the pseudo-preprocessor of RTOS-UH.
+The compiler should provide an included preprocessor like e.g. C preprocessor. It is inspired by the pseudo-preprocessor of RTOS-UH.

 ## Specification

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcel Schaible</dc:creator><pubDate>Wed, 29 Dec 2021 11:12:17 -0000</pubDate><guid>https://sourceforge.net581bbac74896b91710a1f858c83312b52fde0360</guid></item><item><title>Preprocessor modified by Marcel Schaible</title><link>https://sourceforge.net/p/openpearl/wiki/Preprocessor/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,6 @@
 # Preprocessor

-The compiler provides an included preprocessor like e.g. C preprocessor. It is inspired by the pseudo-preprocessor of RTOS-UH.
+The compilershould provide an included preprocessor like e.g. C preprocessor. It is inspired by the pseudo-preprocessor of RTOS-UH.

 ## Specification

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcel Schaible</dc:creator><pubDate>Tue, 21 Dec 2021 23:33:41 -0000</pubDate><guid>https://sourceforge.net5aedf7749ce1fc420c38f4c015b111d3d40cd51c</guid></item><item><title>Preprocessor modified by Marcel Schaible</title><link>https://sourceforge.net/p/openpearl/wiki/Preprocessor/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -4,4 +4,45 @@

 ## Specification

+~~~
+#DEFINE &amp;lt;const&amp;gt; = &amp;lt;constexpr&amp;gt;;        Define a constant &amp;lt;const&amp;gt; with the value &amp;lt;constexpr&amp;gt;
+#INCLUDE &amp;lt;filename&amp;gt;;                  Include the source file &amp;lt;filename&amp;gt;
+#IF &amp;lt;constexpr&amp;gt;;                      Conditional compilation if &amp;lt;constexpr&amp;gt; = true
+#IFUDEF &amp;lt;constexpr&amp;gt;;                  Conditional compilation if &amp;lt;constexpr&amp;gt; = false
+#ELSE;                                Else 
+#FIN;                                 End of #IF or #IFUDEF
+#ERROR &amp;lt;message&amp;gt;                      Print &amp;lt;message&amp;gt; to the console and aborts compilation
+#WARN &amp;lt;message&amp;gt;                       Print &amp;lt;message&amp;gt; to the console and continues compilation
+~~~
+
+
+### #DEFINE
+
+### #INCLUDE
+
+### #IF
+
+### #IFUDEF
+
+### #ERROR
+
+### #WARN
+
+## Scope
+
 ## Example
+
+~~~
+#INCLUDE "definitions.prl";
+
+#DEFINE TEST = 1;
+#DEFINE MYCONST1 = 0;
+#DEFINE MYCONST2 = 42;
+
+
+#IF TEST = 1;
+DCL var FIXED(15) INIT(MYCONST1);
+#ELSE;
+DCL var FIXED(15) INIT(MYCONST2);
+#FIN;:
+~~~
&amp;lt;/message&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/constexpr&amp;gt;&amp;lt;/constexpr&amp;gt;&amp;lt;/constexpr&amp;gt;&amp;lt;/constexpr&amp;gt;&amp;lt;/filename&amp;gt;&amp;lt;/filename&amp;gt;&amp;lt;/constexpr&amp;gt;&amp;lt;/const&amp;gt;&amp;lt;/constexpr&amp;gt;&amp;lt;/const&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcel Schaible</dc:creator><pubDate>Tue, 21 Dec 2021 23:27:29 -0000</pubDate><guid>https://sourceforge.net95e7134e6e8c6d2fd0886e9d7624515c8790293e</guid></item><item><title>Preprocessor modified by Marcel Schaible</title><link>https://sourceforge.net/p/openpearl/wiki/Preprocessor/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="preprocessor"&gt;Preprocessor&lt;/h1&gt;
&lt;p&gt;The compiler provides an included preprocessor like e.g. C preprocessor. It is inspired by the pseudo-preprocessor of RTOS-UH.&lt;/p&gt;
&lt;h2 id="specification"&gt;Specification&lt;/h2&gt;
&lt;h2 id="example"&gt;Example&lt;/h2&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcel Schaible</dc:creator><pubDate>Tue, 21 Dec 2021 23:01:13 -0000</pubDate><guid>https://sourceforge.net56db91b550299df41f8fa6ce8e0bccd6fd70a203</guid></item></channel></rss>