<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Interface</title><link>https://sourceforge.net/p/markup-referent/wiki/Interface/</link><description>Recent changes to Interface</description><atom:link href="https://sourceforge.net/p/markup-referent/wiki/Interface/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 16 May 2013 18:51:41 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/markup-referent/wiki/Interface/feed" rel="self" type="application/rss+xml"/><item><title>Interface modified by OmniMark Code</title><link>https://sourceforge.net/p/markup-referent/wiki/Interface/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -15,7 +15,7 @@

 &lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;-The input of &lt;code&gt;resolve-referents&lt;/code&gt; consists of plain text, markup, and referents. Its task is to replace each  referent by its resolved value and output the resultiing markup stream into &lt;code&gt;destination&lt;/code&gt;.&lt;br /&gt;
+The input of &lt;code&gt;resolve-referents&lt;/code&gt; consists of plain text, markup, and referents. Its task is to replace each  referent by its resolved value and output the resulting markup stream into &lt;code&gt;destination&lt;/code&gt;.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;For the next piece of the puzzle, if the aim is to replicate the built-in OmniMark syntax as closely as  possible, we'd like the equivalent of the following interface that uses the word &lt;code&gt;referent&lt;/code&gt; both for  emitting a referent and for setting its value:&lt;br /&gt;
&lt;/p&gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">OmniMark Code</dc:creator><pubDate>Thu, 16 May 2013 18:51:41 -0000</pubDate><guid>https://sourceforge.netdfe52cecef05a6c89d0647d74d4a88cbf9bc9a73</guid></item><item><title>WikiPage Interface modified by OmniMark Code</title><link>https://sourceforge.net/p/markup-referent/wiki/Interface/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -1,41 +1,41 @@
-Interface requirements
-======================
-
-What are the essential parts of the referent mechanism?
-
-1. A sink modified with `referents-allowed` accepts referents, buffering all input until the referent values are resolved.
-1. One must be able to `output referent` into such a stream.
-1. Finally, a referent can be resolved using the `set referent`, `open ... as referent`, or `using output as referent` action.
-
-These three requirements already describe our interface. First, we need a `markup sink` filter to play the role of the `referents-allowed` modifier:
-
-&lt;pre&gt;
-export markup sink function
-   resolve-referents into value markup sink destination
-    
-&lt;/pre&gt;
-
+Interface requirements 
+=======================
+
+What are the essential parts of the referent mechanism?  
+
+1. A sink modified with `referents-allowed` accepts referents, buffering all input until the  referent values are resolved. 
+1. One must be able to `output referent` into such a stream. 
+1. Finally, a referent can be resolved using the `set referent`, `open ... as referent`, or `using output as  referent` action. 
+
+These three requirements already describe our interface. First, we need a `markup sink` filter to play the role  of the `referents-allowed` modifier:  
+
+&lt;div class="codehilite"&gt;&lt;pre&gt;
+&lt;span class="kr"&gt;export&lt;/span&gt; &lt;span class="kr"&gt;markup&lt;/span&gt; &lt;span class="kr"&gt;sink&lt;/span&gt; &lt;span class="kr"&gt;function&lt;/span&gt;
+   resolve-referents &lt;span class="kr"&gt;into&lt;/span&gt; &lt;span class="kr"&gt;value&lt;/span&gt; &lt;span class="kr"&gt;markup&lt;/span&gt; &lt;span class="kr"&gt;sink&lt;/span&gt; destination
+    
+&lt;/pre&gt;&lt;/div&gt;
+
 The input of `resolve-referents` consists of plain text, markup, and referents. Its task is to replace each  referent by its resolved value and output the resultiing markup stream into `destination`.  
 
 For the next piece of the puzzle, if the aim is to replicate the built-in OmniMark syntax as closely as  possible, we'd like the equivalent of the following interface that uses the word `referent` both for  emitting a referent and for setting its value:  
 
-&lt;pre&gt;
-export markup source function
-   referent value string referent-name
-
-export markup sink function
-   referent value string referent-name
-    
-&lt;/pre&gt;
+&lt;div class="codehilite"&gt;&lt;pre&gt;
+&lt;span class="kr"&gt;export&lt;/span&gt; &lt;span class="kr"&gt;markup&lt;/span&gt; &lt;span class="kr"&gt;source&lt;/span&gt; &lt;span class="kr"&gt;function&lt;/span&gt;
+   &lt;span class="kr"&gt;referent&lt;/span&gt; &lt;span class="kr"&gt;value&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt; referent-name
+&amp;nbsp;
+&lt;span class="kr"&gt;export&lt;/span&gt; &lt;span class="kr"&gt;markup&lt;/span&gt; &lt;span class="kr"&gt;sink&lt;/span&gt; &lt;span class="kr"&gt;function&lt;/span&gt;
+   &lt;span class="kr"&gt;referent&lt;/span&gt; &lt;span class="kr"&gt;value&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt; referent-name
+    
+&lt;/pre&gt;&lt;/div&gt;
 
 This interface supports both emitting a referent with `output referent`, and setting a referent's value with  `using output as referent`. The two function definitions would unfortunately not be allowed in OmniMark, but we  can achieve the same effect by having the function `referent` return an intermediate type which then gets  converted to the desired result type by a `conversion-function`:  
 
-&lt;pre&gt;
-export markup-referent-buffer function
-   referent value string referent-name
-
-export markup source conversion-function value markup-referent-buffer b
-
-export markup sink conversion-function value markup-referent-buffer b
-    
-&lt;/pre&gt;
+&lt;div class="codehilite"&gt;&lt;pre&gt;
+&lt;span class="kr"&gt;export&lt;/span&gt; markup-referent-buffer &lt;span class="kr"&gt;function&lt;/span&gt;
+   &lt;span class="kr"&gt;referent&lt;/span&gt; &lt;span class="kr"&gt;value&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt; referent-name
+&amp;nbsp;
+&lt;span class="kr"&gt;export&lt;/span&gt; &lt;span class="kr"&gt;markup&lt;/span&gt; &lt;span class="kr"&gt;source&lt;/span&gt; &lt;span class="kr"&gt;conversion-function&lt;/span&gt; &lt;span class="kr"&gt;value&lt;/span&gt; markup-referent-buffer b
+&amp;nbsp;
+&lt;span class="kr"&gt;export&lt;/span&gt; &lt;span class="kr"&gt;markup&lt;/span&gt; &lt;span class="kr"&gt;sink&lt;/span&gt; &lt;span class="kr"&gt;conversion-function&lt;/span&gt; &lt;span class="kr"&gt;value&lt;/span&gt; markup-referent-buffer b
+    
+&lt;/pre&gt;&lt;/div&gt;
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">OmniMark Code</dc:creator><pubDate>Mon, 14 May 2012 15:24:46 -0000</pubDate><guid>https://sourceforge.netb0bf4b8a35ae0c50635883fc8e16f80c70396435</guid></item><item><title>WikiPage Interface modified by OmniMark Code</title><link>https://sourceforge.net/p/markup-referent/wiki/Interface/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -9,33 +9,33 @@
 
 These three requirements already describe our interface. First, we need a `markup sink` filter to play the role of the `referents-allowed` modifier:
 
-~~~~~~
-export markup sink function
+&lt;pre&gt;
+export markup sink function
    resolve-referents into value markup sink destination
     
-~~~~~~
-
-The input of `resolve-referents` consists of plain text, markup, and referents. Its task is to replace each referent by its resolved value and output the resultiing markup stream into `destination`.
-
-For the next piece of the puzzle, if the aim is to replicate the built-in OmniMark syntax as closely as possible, we'd like the equivalent of the following interface that uses the word `referent` both for emitting a referent and for setting its value:
-
-~~~~~~
+&lt;/pre&gt;
+
+The input of `resolve-referents` consists of plain text, markup, and referents. Its task is to replace each  referent by its resolved value and output the resultiing markup stream into `destination`.  
+
+For the next piece of the puzzle, if the aim is to replicate the built-in OmniMark syntax as closely as  possible, we'd like the equivalent of the following interface that uses the word `referent` both for  emitting a referent and for setting its value:  
+
+&lt;pre&gt;
 export markup source function
    referent value string referent-name
 
 export markup sink function
    referent value string referent-name
     
-~~~~~~
-
-This interface supports both emitting a referent with `output referent`, and setting a referent's value with `using output as referent`. The two function definitions would unfortunately not be allowed in OmniMark, but we can achieve the same effect by having the function `referent` return an intermediate type which then gets converted to the desired result type by a `conversion-function`:
-
-~~~~~~
+&lt;/pre&gt;
+
+This interface supports both emitting a referent with `output referent`, and setting a referent's value with  `using output as referent`. The two function definitions would unfortunately not be allowed in OmniMark, but we  can achieve the same effect by having the function `referent` return an intermediate type which then gets  converted to the desired result type by a `conversion-function`:  
+
+&lt;pre&gt;
 export markup-referent-buffer function
    referent value string referent-name
 
 export markup source conversion-function value markup-referent-buffer b
 
 export markup sink conversion-function value markup-referent-buffer b
     
-~~~~~~
+&lt;/pre&gt;
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">OmniMark Code</dc:creator><pubDate>Fri, 11 May 2012 17:52:23 -0000</pubDate><guid>https://sourceforge.net295da2bc984806b902560a4cb4ec8542afa44dea</guid></item><item><title>WikiPage Interface modified by OmniMark Code</title><link>https://sourceforge.net/p/markup-referent/wiki/Interface/</link><description>Interface requirements
======================

What are the essential parts of the referent mechanism?

1. A sink modified with `referents-allowed` accepts referents, buffering all input until the referent values are resolved.
1. One must be able to `output referent` into such a stream.
1. Finally, a referent can be resolved using the `set referent`, `open ... as referent`, or `using output as referent` action.

These three requirements already describe our interface. First, we need a `markup sink` filter to play the role of the `referents-allowed` modifier:

~~~~~~
export markup sink function
   resolve-referents into value markup sink destination
    
~~~~~~

The input of `resolve-referents` consists of plain text, markup, and referents. Its task is to replace each referent by its resolved value and output the resultiing markup stream into `destination`.

For the next piece of the puzzle, if the aim is to replicate the built-in OmniMark syntax as closely as possible, we'd like the equivalent of the following interface that uses the word `referent` both for emitting a referent and for setting its value:

~~~~~~
export markup source function
   referent value string referent-name

export markup sink function
   referent value string referent-name
    
~~~~~~

This interface supports both emitting a referent with `output referent`, and setting a referent's value with `using output as referent`. The two function definitions would unfortunately not be allowed in OmniMark, but we can achieve the same effect by having the function `referent` return an intermediate type which then gets converted to the desired result type by a `conversion-function`:

~~~~~~
export markup-referent-buffer function
   referent value string referent-name

export markup source conversion-function value markup-referent-buffer b

export markup sink conversion-function value markup-referent-buffer b
    
~~~~~~
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">OmniMark Code</dc:creator><pubDate>Fri, 11 May 2012 17:04:12 -0000</pubDate><guid>https://sourceforge.netfb0ca145a966871fee5fe8313d3d4a3c5f36a1fe</guid></item></channel></rss>