<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Function list new language parser]]></title><description><![CDATA[<p dir="auto">I’m doing some testing with the Function-List language parser</p>
<p dir="auto">Just trying with a super simple language definition<br />
to explore the features…</p>
<p dir="auto">I created the &lt;association …/&gt; and the &lt;parser …&gt;<br />
and restarted NPP… but cant put tis to work</p>
<ul>
<li>Here is the my xml/association element</li>
</ul>
<pre><code>&lt;association 
    id = "XXX" 
    userDefinedLangName = "XXX-Testing..."  
    ext = ".xxx" 
    /&gt;
</code></pre>
<ul>
<li>And here is my very…very simple parser</li>
<li>I just want to match the “xxx” string in the text</li>
<li>just testing… there are various “xxx” inside the text</li>
<li>not even regex metatags… all super simple</li>
</ul>
<pre><code>&lt;parser
    id = "XXX"
    displayName = "XXX"
    commentExpr = "(?s:/\*.*?\*/)|(?m-s://.*?$)"
    &gt;
    &lt;function 
        mainExpr = "XXX" 
        &gt;

        &lt;funcNameExpr expr=".*" /&gt;
    &lt;/function&gt;
&lt;/parser&gt;
</code></pre>
<p dir="auto">?Any ideas<br />
my NPP version is 7.7.1<br />
but I download some older versions to test and the problem remains…</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18276/function-list-new-language-parser</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 17:28:05 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18276.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Sep 2019 20:26:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Function list new language parser on Thu, 19 Sep 2019 21:52:20 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/mapje71" aria-label="Profile: MAPJe71">@<bdi>MAPJe71</bdi></a></p>
<p dir="auto">it was the “userDefinedLangName”<br />
was set to “XXX-…” and should be “xxx-…”<br />
to exactly match the name of the language<br />
in the Language menu… (it is case sensitive…)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47262</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47262</guid><dc:creator><![CDATA[IBIT_ZEE]]></dc:creator><pubDate>Thu, 19 Sep 2019 21:52:20 GMT</pubDate></item><item><title><![CDATA[Reply to Function list new language parser on Thu, 19 Sep 2019 20:48:20 GMT]]></title><description><![CDATA[<ol>
<li>Due to a flaw in the implementation of the Function List engine an id-ext-association has to be combined with an id-userDefinedLangName-association. Not sure if combining the two of them in one <code>assocciation</code>-node should work. Separating should definitly work though i.e.</li>
</ol>
<pre><code class="language-xml">&lt;association id="XXX" userDefinedLangName="XXX-Testing..."/&gt;
&lt;association id="XXX" ext=".xxx"/&gt;
</code></pre>
<ol start="2">
<li>Make sure the ‘userDefinedLangName’-attribute’s value exactly equals the name of the user defined language as displayed in the ‘Language’-menu i.e. upper- and lowercase letters, hyphens, etc. I your case their should be “XXX-Testing…” entry in the <code>Language</code>-menu.</li>
<li>If not yet created, create the applicable user-defined-language. Yours should be named <code>XXX-Testing...</code> with its extension field (<code>Ext.:</code>) set to <code>xxx</code> i.e. without the dot.</li>
<li>Make sure your <code>parser</code>-node has the correct layout i.e.</li>
</ol>
<pre><code class="language-xml">&lt;parser
    displayName="XXX"
    id         ="XXX"
    commentExpr="(?s:/\*.*?\*/)|(?m-s://.*?$)"
&gt;
    &lt;function 
        mainExpr="XXX" 
    &gt;
        &lt;functionName&gt;
            &lt;nameExpr expr=".*" /&gt;
        &lt;/functionName&gt;
    &lt;/function&gt;
&lt;/parser&gt;
</code></pre>
<p dir="auto">In this case the <code>functionName</code>-node might not be necessary i.e.</p>
<pre><code class="language-xml">&lt;parser
    displayName="XXX"
    id         ="XXX"
    commentExpr="(?s:/\*.*?\*/)|(?m-s://.*?$)"
&gt;
    &lt;function 
        mainExpr="XXX" 
    /&gt;
&lt;/parser&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/47260</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47260</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Thu, 19 Sep 2019 20:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to Function list new language parser on Thu, 19 Sep 2019 20:36:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ibit_zee" aria-label="Profile: IBIT_ZEE">@<bdi>IBIT_ZEE</bdi></a> said in <a href="/post/47256">Function list new language parser</a>:</p>
<blockquote>
<p dir="auto">&lt;association<br />
id = “XXX”<br />
userDefinedLangName = “XXX-Testing…”<br />
ext = “.xxx”<br />
/&gt;</p>
</blockquote>
<p dir="auto">you can see under functionlistxml line 94</p>
<pre><code>		&lt;association id=         "krl_function"   userDefinedLangName="KRL"            /&gt;
		&lt;association id=         "krl_function"   ext=".src"                           /&gt;
		&lt;association id=         "krl_function"   ext=".sub"                           /&gt;
		&lt;!-- ======================================================================== --&gt;
		&lt;association id=   "sinumerik_function"   userDefinedLangName="Sinumerik"      /&gt;
		&lt;association id=   "sinumerik_function"   ext=".arc"                           /&gt;
		&lt;!-- ======================================================================== --&gt;
		&lt;association id=    "universe_basic"      userDefinedLangName="UniVerse BASIC" /&gt;
		&lt;association id=    "universe_basic"      ext=".bas"                           /&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/47258</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47258</guid><dc:creator><![CDATA[rinku singh]]></dc:creator><pubDate>Thu, 19 Sep 2019 20:36:00 GMT</pubDate></item></channel></rss>