|
![]() [ View full size screenshot ] |
| Version | Date Released | Status | Release Notes |
| 2012-04-26 | May 6, 2012 | New Release | · When constructing a power expression, many roots are simplified at construction time to a more canonical form. For example, 4^(1/2) is immediately simplified to 2, and 8^(1/2) is immediately simplified to 2 * 2^(1/2). Other fractional powers are similarly simplified. The compile-time simplifications improve symbolic math. More compile-time simplifications and canonicalizations will follow. · Expanded intersection[arg1,arg2] function to return the intersection of intervals or ordinary units. The return type in this case will be an interval or an ordinary real number. If there is no intersection between the arguments, the function will currently return undef although this behavior may change to return an empty interval in the future. · Made the min and max functions do something sensible when passed overlapping intervals. (Previously, they just threw an OverlapException, which could be improved.) |
| 2012-04-10 | Apr 18, 2012 | New Release | Multi-dimensional arrays of Java objects can now be constructed by passing an array of integers to the second argument of the newJavaArray function. For example, the following creates a two-dimensional array of double with dimensions 3 by 4: · d = newJavaArray["double", [3,4]] · d@0@0 = 3.14 · See the Creating Java Objects section of the documentation for more. · When passing an array of Java objects to a Java method, the disambiguation rules were improved to eliminate some incorrect "can match" errors. |
| 2012-04-01 | Apr 10, 2012 | New Release | · Added dictionary.invert[] method to return a new dictionary with key-value pairs inverted. See the Dictionary Methods section of the documentation for more. · Internally rewrote enumerating expressions for better compile-time typesafety. · Added functions ceil[x,y] and floor[x,y] to round x up or down to the nearest multiple of y, analogous to the two-argument version of round. See the Rounding Functions section of the documentation for more. · The read and lines functions now allow the first argument to be an instance of java.io.InputStream, which simplifies reading from other input streams (for example, reading from a URLConnection or an external process, or a pipe.) |
| 2012-03-01 | Mar 5, 2012 | New Release | · For Android: Added experimental unit name completion in interactive mode. You can now start typing the first 2 or more letters of a unit name, and Frink will present an autocompletion list. This seems to be slow in some Android devices, so if it becomes too ponderous, it's gone. If it's useful, it may be expanded. Note that this list does not include all possible completions; you can still enter suffixes or units that may not be listed (like dollar_1910). · For Android: Added a class file that may have been missing from the past release. |
| 2012-02-16 | Feb 20, 2012 | New Release | · Added a map[function, list] applies the specified function to all the members of a list, and returns a new list containing the results. See the map section of the documentation for more. · Added getFunction[name, numArgs] which returns a reference to the function with the specified name (specified as a string) and number of arguments. This can then be assigned to variables, or called as noted in the Anonymous Functions and map sections of the documentation. · Rearranged split and join sections of the documentation. |
| 2012-02-06 | Feb 8, 2012 | New Release | · Added a built-in Writer class to enable easy writing to files without including external libraries. See the Writing Files section of the documentation for more information. · Changed these documentation pages to reflect the fact that I'm now putting new announcements on Twitter at @frinklang, and not using Freshmeat any more. |
| 2012-02-03 | Feb 6, 2012 | New Release | · Improved error messages when array bounds errors occur. |
| 2012-01-26 | Jan 30, 2012 | New Release | · Added urlFile[string] to return a string indicating the filename of a specifed URL string, that is the last path part of a URL (e.g. "http://futureboy.us/frinkdocs/whatsnew.html" will return "whatsnew.html") · Added urlPath[string] to return a string indicating the entire path of a specifed URL string, (e.g. "http://futureboy.us/frinkdocs/whatsnew.html" will return "/frinkdocs/whatsnew.html") · Added browse[URL] function to launch the specified URL in your computer's browser (or however your computer likes to launch things.) This also works on Android, but Android doesn't like to launch many protocol types other than http. · Wrote a colorillusion.frink program to draw color illusions like the one here. (You'll want to supply your own image file.) I don't think my algorithm is quite right yet, as colors easily become saturated or blocky and don't produce quite the right colors in the inverse. Note that this program requires today's release of Frink! |
| 2012-01-21 | Jan 25, 2012 | New Release | · Updated data file to account for the leap second that will be introduced at the end of June, 2012. |
| 20110529 | Jun 2, 2011 | New Release | · Added a new multifor loop construct to perform several loops at once. See the multifoor loop section of the documentation. |