<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/jscc/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/jscc/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 30 Jul 2009 00:43:04 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jscc/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Improve token regexp towards JavaScript's full RegExp syntax</title><link>https://sourceforge.net/p/jscc/feature-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;JS/CC should use the same regexp syntax as JavaScript ast this is what the user is familiar with.&lt;br /&gt;
In particular:&lt;br /&gt;
- '\xxx' support should be dropped as it is ambiguous and is not in JavaScript&lt;br /&gt;
- '\uXX' and '\UXXXX' should be added for full Unicode support&lt;br /&gt;
- '.' should have the same effect (not match end of line)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olivier Mengué</dc:creator><pubDate>Thu, 30 Jul 2009 00:43:04 -0000</pubDate><guid>https://sourceforge.net328a3711206a38180c72cf3ed6d9d7ec23cf76ec</guid></item><item><title>__parse() should return %% of the top rule</title><link>https://sourceforge.net/p/jscc/feature-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Currently __parse() returns an error count. There is no clean way to return %% from the top rule to the __parse() caller. The only way is to use an ugly global variable. And this makes parsing non thread safe.&lt;/p&gt;
&lt;p&gt;Instead __parse() could return an object containing:&lt;br /&gt;
- src: the parsed string&lt;br /&gt;
- errors: the error list&lt;br /&gt;
- result: %% of the top grammar rule&lt;br /&gt;
For an attempt to implement this around the current (0.30) JS/CC generated code, see &lt;a href="http://registry-files-tools.googlecode.com/svn-history/r3/trunk/msreg.par" rel="nofollow"&gt;http://registry-files-tools.googlecode.com/svn-history/r3/trunk/msreg.par&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olivier Mengué</dc:creator><pubDate>Thu, 30 Jul 2009 00:27:11 -0000</pubDate><guid>https://sourceforge.netbed65968acf8b021666d6d28d726980bfebccc2a</guid></item><item><title>Redesigning the Web Environment using a Web Framework</title><link>https://sourceforge.net/p/jscc/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Like the project RXBuild (&lt;a href="http://ddlsmurf.github.com/rxbuild/regex.html" rel="nofollow"&gt;http://ddlsmurf.github.com/rxbuild/regex.html&lt;/a&gt;), based on JS/CC and written by Eric Doughty-Papassideris, an existing Framework (e.g. - like in this case the Yahoo User Interface Library (&lt;a href="http://developer.yahoo.com/yui/" rel="nofollow"&gt;http://developer.yahoo.com/yui/&lt;/a&gt;)) should be used to make the web environment looking more neaty and making it more dynamic (the current version is very static!)).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">beachcoder</dc:creator><pubDate>Wed, 29 Jul 2009 13:30:19 -0000</pubDate><guid>https://sourceforge.net53fd83406feca124043a3f8084ba3e84ceeabfc4</guid></item><item><title>Unget Input</title><link>https://sourceforge.net/p/jscc/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It must be possible to unget the last input sequence and re-read it within the next parsing action.&lt;br /&gt;
This must be provided by a function or method in the parser templates (using the new PCB-feature!)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">beachcoder</dc:creator><pubDate>Wed, 29 Jul 2009 13:25:32 -0000</pubDate><guid>https://sourceforge.net5f992e816e1757e5e60c8b53e295382a1fdc03e0</guid></item><item><title>Multiple token definition in lexer</title><link>https://sourceforge.net/p/jscc/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is a request from a current support request. JS/CC must be enabled to support multiple tokens for the same input sequence.&lt;br /&gt;
Which token is returned must be decided by the semantic code.&lt;/p&gt;
&lt;p&gt;Current request is implementing a Phyton-like language, where blocks are defined using tabs.&lt;/p&gt;
&lt;p&gt;Example:&lt;br /&gt;
'\t'+ INDENT, DEDENT   [* if( test for mode ) %token = INDENT; else return %token = DEDENT; *]&lt;/p&gt;
&lt;p&gt;The feature of returning a different token must be implemented to support ALL available token!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">beachcoder</dc:creator><pubDate>Wed, 29 Jul 2009 13:23:34 -0000</pubDate><guid>https://sourceforge.nete8c216ac7ef20f4aa2469fae50e1a44e73ba90ce</guid></item><item><title>Implementing default reductions</title><link>https://sourceforge.net/p/jscc/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There must be a a way of providing default reduce actions as it is done in BISON - This is fundamentally required for better error recovery based on the error token (0.32 has very bad bugs!).&lt;/p&gt;
&lt;p&gt;Some piece of code:&lt;br /&gt;
---------------------------&lt;br /&gt;
! ' |\t'&lt;/p&gt;
&lt;p&gt;"ZZ"&lt;br /&gt;
"YY"&lt;br /&gt;
';'&lt;br /&gt;
;&lt;/p&gt;
&lt;p&gt;##&lt;/p&gt;
&lt;p&gt;slist : slist stmt ';'  [* print("slist stmt"); *]&lt;br /&gt;
| stmt ';'      [* print("stmt"); *]&lt;br /&gt;
| ~ ';'         [* print("error"); *]&lt;br /&gt;
;&lt;/p&gt;
&lt;p&gt;stmt  : "ZZ" stmt&lt;br /&gt;
| "ZZ"&lt;br /&gt;
; &lt;/p&gt;
&lt;p&gt;[*&lt;/p&gt;
&lt;p&gt;_dbg_withtrace = true;&lt;br /&gt;
var err_off = new Array();&lt;br /&gt;
var err_la = new Array();&lt;/p&gt;
&lt;p&gt;var str = "ZZ ZZ YY ZZ ZZ";&lt;br /&gt;
print( str );&lt;/p&gt;
&lt;p&gt;print( "Errors: " + __parse( str, err_off, err_la ) );&lt;br /&gt;
//print( err_off[0] + "#" + err_la[0].join() );&lt;/p&gt;
&lt;p&gt;*]      &lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">beachcoder</dc:creator><pubDate>Tue, 14 Apr 2009 11:35:26 -0000</pubDate><guid>https://sourceforge.net5a7d375e023e827dcbdf27d4cc1285cddb13a078</guid></item></channel></rss>