{"id":275,"date":"2017-04-13T15:00:58","date_gmt":"2017-04-13T14:00:58","guid":{"rendered":"https:\/\/reldb.org\/c\/?p=275"},"modified":"2017-04-13T15:44:18","modified_gmt":"2017-04-13T14:44:18","slug":"rel-version-3-007-now-available","status":"publish","type":"post","link":"https:\/\/reldb.org\/c\/index.php\/rel-version-3-007-now-available\/","title":{"rendered":"Rel version 3.007 now available!"},"content":{"rendered":"<p>This is a minor release of <em>Rel<\/em>, an implementation of Date &#038; Darwen&#8217;s <strong>Tutorial D<\/strong> database language. It adds EQUIV and RANK operators, slightly tweaks the <strong>Tutorial D<\/strong> grammar implementation to reduce the need for parentheses, provides infix invocation for certain operators, and fixes some bugs.<\/p>\n<p>The following enhancements have been made to the <em>Rel<\/em> implementation of <strong>Tutorial D<\/strong>:<\/p>\n<p>&#8211; Infix syntax for EXTEND, SUMMARIZE and UPDATE expressions is now available. The prefix syntax has been retained, but these are now allowed:<\/p>\n<p><code>   S EXTEND {SS := STATUS}<br \/>\n   S EXTEND: {SS := STATUS}<br \/>\n   S SUMMARIZE BY {CITY} {SS := SUM(STATUS)}<br \/>\n   S SUMMARIZE BY {CITY}: {SS := SUM(STATUS)}<br \/>\n   S UPDATE {STATUS := 2}<br \/>\n   S UPDATE: {STATUS := 2}<\/code><\/p>\n<p>&#8211; Dyadic and monadic relational operators now have equal precedence, except WHERE (lower precedence) and projection (higher precedence). This means operators may often be &#8220;chained&#8221; naturally without requiring parentheses.  E.g., S RENAME {CITY AS PLACE} WRAP {PLACE, STATUS} AS T is allowed, where previously (S RENAME {CITY AS PLACE}) WRAP {PLACE, STATUS} AS T would have been required. This should not affect existing code.<\/p>\n<p>&#8211; RANK has been implemented, per Date &#038; Darwen&#8217;s &#8220;Data Types and the Relational Model&#8221;. Both prefix and infix syntax are available:<\/p>\n<p><code>   RANK S BY (ASC STATUS AS Ranking)<br \/>\n   S RANK BY (ASC STATUS AS Ranking)<br \/>\n   S RANK (ASC STATUS AS Ranking)<\/code><\/p>\n<p>&#8211; EQUIV has been implemented, per Date &#038; Darwen&#8217;s &#8220;Database Explorations&#8221;.<\/p>\n<p>The following bugs have been fixed:<\/p>\n<p>&#8211; Case #139 &#8211; #142: In the <em>Rel<\/em> UI, a fatal error was sometimes inappropriately generated when a query was cancelled in the command-line view. This has been fixed.<\/p>\n<p>&#8211; Case #153: Errors in built-in or user-defined Java-based operators now generate an error message rather than causing a fatal error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a minor release of Rel, an implementation of Date &#038; Darwen&#8217;s Tutorial D database language. It adds EQUIV and RANK operators, slightly tweaks the Tutorial D grammar implementation to reduce the need for parentheses, provides infix invocation for certain operators, and fixes some bugs. The following enhancements have been made to the Rel <a href=\"https:\/\/reldb.org\/c\/index.php\/rel-version-3-007-now-available\/\" rel=\"nofollow\"><span class=\"sr-only\">Read more about Rel version 3.007 now available!<\/span>[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":117,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"class_list":["post-275","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/posts\/275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/comments?post=275"}],"version-history":[{"count":4,"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/posts\/275\/revisions"}],"predecessor-version":[{"id":279,"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/posts\/275\/revisions\/279"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/media\/117"}],"wp:attachment":[{"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/media?parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/categories?post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reldb.org\/c\/index.php\/wp-json\/wp\/v2\/tags?post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}