<?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/millscript/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/millscript/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 28 Sep 2007 13:09:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/millscript/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Add arithmetic functions</title><link>https://sourceforge.net/p/millscript/feature-requests/37/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;MillScript is currently missing the simple arithmetic functions, i.e. -, +, *, etc.&lt;/p&gt;
&lt;p&gt;This can trigger an obscure bug with subtraction, e.g.&lt;/p&gt;
&lt;p&gt;var x = 7;&lt;br /&gt;
x - 7;&lt;br /&gt;
There is 1 result&lt;br /&gt;
0&lt;/p&gt;
&lt;p&gt;x- 7;&lt;br /&gt;
There is 1 result&lt;br /&gt;
0&lt;/p&gt;
&lt;p&gt;x -7;&lt;br /&gt;
MISHAP : Could not find the definition for this variable&lt;br /&gt;
NAME : -&lt;br /&gt;
ORIGIN : origin&lt;br /&gt;
LINE NO. : 2&lt;br /&gt;
PHASE : Compile&lt;br /&gt;
Resetting input and resuming execution&lt;/p&gt;
&lt;p&gt;x-7;&lt;br /&gt;
MISHAP : Could not find the definition for this variable&lt;br /&gt;
NAME : -&lt;br /&gt;
ORIGIN : origin&lt;br /&gt;
LINE NO. : 5&lt;br /&gt;
PHASE : Compile&lt;br /&gt;
Resetting input and resuming execution&lt;/p&gt;
&lt;p&gt;This happens because the "-7" gets parsed as a negative integer, when it should be "- 7". The way this is dealt with in MillScript requires that the subtract function exists and is bound to "-".&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Fri, 28 Sep 2007 13:09:51 -0000</pubDate><guid>https://sourceforge.net54bb22d16cc934ae350c06be30441999f4e3596a</guid></item><item><title>Introduce context specific tokenization</title><link>https://sourceforge.net/p/millscript/feature-requests/36/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Following on from tracker item 1105231, we should update the tokenizer to handle context in a slightly more friendly way.&lt;/p&gt;
&lt;p&gt;The current method of using the setWhere() and checkWhere() methods feels like a bodge, rather than a proper solution. Despite the potential of having to duplicate some code, I think the end result will be easier to understand and maintain.&lt;/p&gt;
&lt;p&gt;I see two options:&lt;/p&gt;
&lt;p&gt;1) Introduce a abstract tokenizer with three concrete sub-classes.&lt;br /&gt;
2) Introduce new methods to handle specific cases.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Thu, 27 Sep 2007 21:08:43 -0000</pubDate><guid>https://sourceforge.netbfe1c86261e9ff9cf0c098d1cd42d825ecf52360</guid></item><item><title>Improved multi-level indexByPrimaryKey function</title><link>https://sourceforge.net/p/millscript/feature-requests/35/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;It would be very useful to extend the indexByPrimaryKey &lt;br /&gt;
function to support multiple primary keys at the same &lt;br /&gt;
time, e.g. &lt;/p&gt;
&lt;p&gt;var index = records.indexByPrimaryKey( "key1", &lt;br /&gt;
"key2" ); &lt;/p&gt;
&lt;p&gt;index[ "key1value" ][ "key2value" ]; &lt;/p&gt;
&lt;p&gt;suchthat only one record can exist for any combination &lt;br /&gt;
of primary key field values. This would help to avoid the &lt;br /&gt;
common situation where you know this to be the case but &lt;br /&gt;
have to use the group function instead, thus: &lt;/p&gt;
&lt;p&gt;var index = records.group( "key1", "key2" ); &lt;/p&gt;
&lt;p&gt;index[ "key1value" ][ "key2value"][ 1 ]; &lt;/p&gt;
&lt;p&gt;It's only a subtle change, but it does make the code &lt;br /&gt;
neater. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Fri, 21 Oct 2005 10:47:00 -0000</pubDate><guid>https://sourceforge.neta5a072e9d3a01cce3eac3faf18b5ac2b191e1f6e</guid></item><item><title>Add propertiesFile function</title><link>https://sourceforge.net/p/millscript/feature-requests/34/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Add a propertiesFile function to match the properties file &lt;br /&gt;
loader in MillScript. This new function should either take &lt;br /&gt;
a map, or build one from it's arguments, then write the &lt;br /&gt;
map out as per Java's java.util.Properties#store() method. &lt;/p&gt;
&lt;p&gt;This request arises as at the moment we can't properly &lt;br /&gt;
write a properties file where unsupported characters are &lt;br /&gt;
escaped. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Fri, 16 Sep 2005 10:53:58 -0000</pubDate><guid>https://sourceforge.netd47fb809369fdb473d5c2e37152619f8a6bec293</guid></item><item><title>Add support for Fat strings</title><link>https://sourceforge.net/p/millscript/feature-requests/33/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Steve has requested we add support for fat strings in the&lt;br /&gt;
next version. These are simple multi-line strings and&lt;br /&gt;
should be fairly easy to implement.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;OpenSpice docs at:&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.openspice.org/docs/moin.cgi/DesignNotes_2fStrings" rel="nofollow"&gt;http://www.openspice.org/docs/moin.cgi/DesignNotes_2fStrings&lt;/a&gt; &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Tue, 13 Sep 2005 15:27:32 -0000</pubDate><guid>https://sourceforge.netf804e5f819adb467f0d075e47791d21fa3694301</guid></item><item><title>Complete XML namespace support in MillScript</title><link>https://sourceforge.net/p/millscript/feature-requests/32/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Before the 10.2.0 release we need to complete XML &lt;br /&gt;
namespace support. This requires the following two &lt;br /&gt;
points to be addressed: &lt;/p&gt;
&lt;p&gt;1) MillScripts internal structures need to be upgraded to &lt;br /&gt;
support namespaces, including remembering any prefix &lt;br /&gt;
specified in the source XML. It would be nice to &lt;br /&gt;
preserve the prefixes for the programmers benefit. &lt;/p&gt;
&lt;p&gt;2) The new XML parser needs to have its namespace &lt;br /&gt;
support completed. Currently it parses qualified names &lt;br /&gt;
properly, but it doesn't recognise the xmlns attributes. &lt;br /&gt;
Namespace support should be achieved through a map &lt;br /&gt;
which can hold multiple values for a given key, e.g. a &lt;br /&gt;
"stack" hash map, where you can push and pop values &lt;br /&gt;
for a given key. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Mon, 05 Sep 2005 10:38:48 -0000</pubDate><guid>https://sourceforge.net4438621f0cd82bd3ecaab34f8f4f5c1db52982cc</guid></item><item><title>Add relational chains</title><link>https://sourceforge.net/p/millscript/feature-requests/31/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Add support for relational chains, e.g. &lt;/p&gt;
&lt;p&gt;if 5 &amp;lt; x &amp;lt; 72 and a &amp;lt; b &amp;lt; c then &lt;br /&gt;
... &lt;br /&gt;
endif &lt;/p&gt;
&lt;p&gt;This is already planned for the next release and is part of&lt;br /&gt;
the OpenSpice specification, but this RFE is just so I&lt;br /&gt;
don't forget to do it :-)&lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Fri, 05 Aug 2005 13:47:33 -0000</pubDate><guid>https://sourceforge.net1806c304bcf7380caeefa4a60347a22992831427</guid></item><item><title>Add support for loading Excel spreadsheets</title><link>https://sourceforge.net/p/millscript/feature-requests/30/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It would be very useful to be able to autoload Excel &lt;br /&gt;
spreadsheets. There is a suitable piece of LGPL &lt;br /&gt;
software, called ExcelRead: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.andykhan.com/jexcelapi/index.html" rel="nofollow"&gt;http://www.andykhan.com/jexcelapi/index.html&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;This also allows generating and modifying spreadsheets &lt;br /&gt;
too, so we should provide support for that too. &lt;/p&gt;
&lt;p&gt;I would suggest a similar approach to datafiles, i.e. a &lt;br /&gt;
spreadsheet is a list of lists of lists, or less concisely a &lt;br /&gt;
list of worksheets where each item is a list of rows where &lt;br /&gt;
each item is a list of cells. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Fri, 05 Aug 2005 13:41:39 -0000</pubDate><guid>https://sourceforge.neta95ec01fe36551930e002414333c17a5e60fe051</guid></item><item><title>Add command line completion support to interpreter</title><link>https://sourceforge.net/p/millscript/feature-requests/29/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It would be great to add support for command line&lt;br /&gt;
completion to the interpreter. I'd consider the following&lt;br /&gt;
improvements:&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;1) Add completion for any variables in the standard&lt;br /&gt;
package. i.e. just make a completor for the standard&lt;br /&gt;
package.&lt;br /&gt;
2) Add completion for any variables in other packages. &lt;br /&gt;
This is a bit harder, we need a completor that can&lt;br /&gt;
understand qualified names. e.g. somepkg::avar.  In this &lt;br /&gt;
case the completion needs to search the current &lt;br /&gt;
package, then imported packages, unless it's a qualified &lt;br /&gt;
name that's being completed(in which case the search is &lt;br /&gt;
specific to that package) &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Fri, 22 Apr 2005 12:23:28 -0000</pubDate><guid>https://sourceforge.netcbe0b9e344d24c88b2395f0db2c14d281b0fed6f</guid></item><item><title>Logging support</title><link>https://sourceforge.net/p/millscript/feature-requests/28/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We need to start investigating good logging support.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;NOTES:&lt;br /&gt;
1) Log to the VFS so we can use any target supported&lt;br /&gt;
by it. This may introduce a problem as some protocols&lt;br /&gt;
can't complete a file until it has been finished. Depending&lt;br /&gt;
on the log target, e.g. HTTP, this may cause the log to&lt;br /&gt;
be lost in the event of failure as the request cannot be &lt;br /&gt;
sent until the body content is complete &lt;/p&gt;
&lt;p&gt;2) Consider how to handle common logging ideas without &lt;br /&gt;
having to insert too much explicit logging code. e.g. &lt;br /&gt;
specific function entry/exit and associated arguments &lt;br /&gt;
and return values &lt;/p&gt;
&lt;p&gt;3) Consider supporting logging as core syntax, by that I &lt;br /&gt;
mean allow MillScript to optimise away any unused &lt;br /&gt;
logging methods, so they don't even get past the Expr &lt;br /&gt;
stage. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Wed, 13 Apr 2005 16:48:04 -0000</pubDate><guid>https://sourceforge.net8babecbd5e5c374c490a63d316bd037b0b86a43e</guid></item></channel></rss>