New entry
08-Jan-2016 08:44
Version 2.1.1 Released#

We have released version 2.1.1 of Orc, a minor update. This release makes no language changes. The release does improve the Orc Eclipse plug-in and extends the standard library slightly. In addition, significant work has gone into improving the underlying implementation.

There are multiple ways to run Orc:

1. Use our Try Orc ( https://orc.csres.utexas.edu/tryorc.shtml ) feature to experiment with Orc in your Web browser.

2. Use the Orc plug-in for Eclipse, available as "Orc" on the Eclipse Marketplace. (In Eclipse, use the menu item Help > Eclipse Marketplace) If you already have the Orc plug-in for Eclipse installed, use the Check for Updates menu item to get the update.

3. Orc is also available as a standalone JAR which you can use to run programs on the command line. You can download the release archive from GitHub at https://github.com/orc-lang/orc/releases .

Happy Orcing,

--The Orc Language Research Team

21-Sep-2013 23:56
Version 2.1.0 Released#

Orc 2.1 is a new revision of the Orc implementation. This release is backward compatible with all Orc 2.0 programs, however it does have a few language improvements and extensions. In addition, significant work has gone into improving the underlying implementation.

See our Downloads page for detailed instructions on how to download and use Orc within Eclipse, locally within your Web browser, or from the command line.

Added#

  • Support for virtual clocks.
  • Optional declaration-expression separator "#" added that disambiguates the end of a declaration.
  • InvokeExecutable class in the standard library allows Orc to spawn OS processes.
  • Sites added to the standard library: zipWith, listToJavaList, listToArray.
  • Support for Unicode escapes in Orc strings.

Modified#

  • Updated Scala dependency to 2.10.
  • Fix blocking on strict site call arguments; if any argument halts the entire call will halt regardless of the state of other arguments.
  • Improved runtime error messages.
  • Documentation of the Orc standard library has been expanded and improved.
10-Sep-2012 09:41
Orc on Android#

An experimental port of Orc to the Android platform has been performed by by Ricardo Bernardino and Jo��o Barbosa of the University of Coimbra as part of a UT Austin|Portugal CoLab project. See the OrcAndroid page.

21-Apr-2011 12:00
Version 2.0.0 Released#

Orc 2.0 is a new major revision of the Orc implementation. The core codebase has been rewritten in Scala, and the internal structure of the compiler and runtime have been altered and improved substantially.

The user-level surface language has also changed. Orc 2.0 is not backwards-compatible with previous versions of Orc. Here are the detailed release notes on the user-visible changes to the language. Guidance on how to modify programs written in the previous version of Orc to make them run under Orc 2.0 is on the UpgradingYourProgramToOrc2.0 page.

See our Downloads page for detailed instructions on how to download and use Orc within Eclipse, locally within your web browser, or from the command line.

Added#

  • Support for records: record expressions, record types, record patterns, and record extension using +
  • Function clauses may have arbitrary guard conditions.
  • New web library section, with sites Browse, HTTP, ReadJSON, and WriteJSON
  • New xml library section, with XML manipulation sites.
  • Enhanced parse error messages.
  • Enhanced compiler and runtime error messages, with links into the Orc Wiki.
  • The .oil compiled representation of Orc programs now has a standard public format, given by orc.csres.utexas.edu/oil.xsd.
  • Orc compiler and runtime support JSR 223.
  • Orc 2.0 has a full Reference Manual.
  • Added site IterableToStream to convert Java objects implementing Iterable to a more Orc-appropriate idiom.
  • Any value with an apply member can be called; the call is forwarded to the apply member.
  • Any value with an unapply member can be used in a call pattern; the match target is forwarded to the unapply member.

Modified#

  • def capsule is now def class.
  • site is now import site.
  • class is now import class.
  • type is now import type for external types. Type aliases and datatypes remain unchanged.
  • The three import declarations require the Java class name to be a quoted string.
  • The comparison operators < and > are now <: and :>.
  • if site is now Ift. Ift has a counterpart, Iff.
  • IArray is now Table.
  • Rtimer is now Rwait.
  • Buffer is now Channel. BoundedBuffer is now BoundedChannel.
  • "Nonblocking" sites, with the suffix 'nb', are now "definite" sites, with the suffix 'D'.
  • Site names are now capitalized by convention. This has changed many sites in the standard library: Let, Print, Println, Error, Read, Write, Floor, Ceil, Random, URandom.
  • Keywords are reserved. (Previously one could, for example, define a function named "stop".)
  • Orc identifiers may now use Unicode letters.
  • Fixed bugs in Floor and Ceil.
  • Arrays no longer have any methods. They have one field, length. For slice, use the new function sliceArray.
  • Arrays no longer pattern match as lists. Use arrayToList.
  • Descendants of Iterable no longer pattern match as lists. Use iterableToList.
  • All Orc programs and includes are interpreted using the UTF-8 character encoding.

Removed#

  • Tracing facilities have been removed.
  • Experimental support for Orc exception handling syntax has been removed.
  • Special treatment of interaction between if then else and >> in parser has been removed.
  • if then without else is no longer supported. Always use if then else.
  • Equality (=x) pattern is gone. Use a guard on the clause instead.
  • Special treatment of newlines has been removed. Ambiguous syntax can be eliminated with the insertion of signal >>.
  • Curried definition of functions, lambdas, and function types are no longer allowed. Expand these explicitly as chained lambdas instead.
  • Record has been removed; use primitive records instead.
  • Set and Map have been removed; use Scala or Java counterparts instead.
  • cat has been removed, use + on strings instead.
  • Clock has been removed, use Rclock instead.
  • Ltimer and withLtimer have been removed.
  • Apply has been removed.
  • Thread has been removed.
  • () as a synonym for signal has been removed.
  • All uses of and dependencies on Kilim have been removed.
05-Mar-2010 17:12
Version 1.1.0 Released#

See our Downloads page for detailed instructions on how to download and use Orc within Eclipse, locally within your web browser, or from the command line.

This release is backwards compatible with Orc 1.0. Any Orc program that runs under Orc 1.0 with no command line switches will also run under Orc 1.1, with the same behavior.

Major updates:

  • The Orc implementation has been updated to Java 6, since Java 5 is now deprecated.
  • The execution model for Orc programs has changed substantially. The compiler no longer generates a directed acyclic graph from the OIL abstract syntax tree; instead it executes directly on that syntax tree.
  • A new definition, capsule, is now available. Orc capsules provides this facility for programmer to define active objects in Orc. The creation and execution of capsule is protected from the execution and termination of the rest of the program. capsule is documented in the user guide.
  • A new site, Site, is now available. It takes a single argument, which must be a closure, and returns a site which, when called, executes that closure as if it were a site.

Minor updates:

  • URLs may be used in include declarations. This is especially helpful when using a web-based interface, as it allows access to include files hosted on another server.
  • Unused function definitions are now trimmed from the program AST during compilation; this substantially decreases compile time and sometimes improves performance as well.
  • There is a new -noexecute switch which suppresses execution of a program, performing only compilation. Typically this is used in concert with -typecheck or -oilOut.
  • The Top type is now interchangeable with java.lang.Object; this is a minor weakening of the type theory, but in practice it is useful and causes no problems.
  • The signal value now has a unique type, Signal. This is analogous to the unit type in typed functional languages such as ML.
  • Calls to the Record site which use string literals for field names are now statically typable.
  • Type parameters may now be written inline in defs and lambdas.
  • The experimental isolated keyword has been removed entirely. Its functionality is mostly subsumed by the Site site.
  • The stub code for the atomic combinator has been removed entirely. A full implementation of atomic will be added to a future release of Orc.
  • The OAuth protocol used in OrcSites and Orchard has been updated to protocol version 1.0a.
  • In the Orc Eclipse plug-in:
    • The outline view distinguishes between function definition clauses and function signatures.
    • The New Orc file wizard is improved.
    • Orc program run configurations now have an Alternative Orc Runtime Engine tab, to allow programs to run with an Orc Runtime Engine other than the built-in one. This permits experimenting with, and debugging of, the Orc language runtime.
    • If not specified, the working directory of a program is now the directory containing the program.
    • JavaSE 6 (or newer) is now required.
  • The Orchard WAR/JAR bundling has been completely re-worked: now orchard.war bundles only Orc-specific JARS in its lib; "common" JARs, such as JAX-WS are external.
  • The Orchard "try Orc" demo has much friendlier error handling.
09-Sep-2009 14:40
Version 1.0.0 Released#

This is our first major release.

Major updates:

  • There is now an Eclipse plugin for Orc, compatible with Eclipse versions 3.3 and later. It is available from the Downloads page. Thanks go to John Thywissen for his hard work in creating this plugin.
  • We have introduced experimental support for exception handling. Exceptions are documented in the user guide. Thanks go to Andrew Matsuoka for his hard work in designing and implementing this feature.
  • The static typechecker is now a permanent language feature. It is no longer experimental, though it is still optional to use. It is documented in the user guide.

Minor updates:

  • The isolated keyword, which creates isolated actors, is now disabled by default; use -allowIsolated to enable it.
  • Parser error reporting has only slightly improved; in particular, the parser will clearly report when an Orc program has no goal expression.
  • Relative paths in include are now relative to the file that contains the declaration, rather than an Eclipse workspace or some system default. The -I switch still works as before.
  • There is now an equality pattern, =x, which matches against the value bound to x, rather than binding a value to x.
  • The AST classes within the compiler have been significantly refactored to improve readability.
12-Apr-2009 19:46
Google Code, Subversion, and v0.9.8#

This weekend the project made some major administrative changes.

  • Most importantly, we changed project hosting from SourceForge to Google Code. All SourceForge services are now deactivated, including CVS and hosting of old releases. Old releases are available in source code form via version control; if there is demand for pre-packaged binaries of old releases, I can put them on Google Code.
  • We changed version control systems from CVS to Subversion. Google Code has the SVN repository information. For more details on the switch, see MigratingToSvn.
  • We changed our source code license to the "New" BSD license. The new license has more liberal terms than our previous license (which forbade commercial use) so this should not affect anybody already using our code.
  • We cleaned up our library dependencies to ensure we are complying with licensing terms for all bundled third-party libraries.
  • We released version 0.9.8, primarily to make the binaries available under the new license.
03-Apr-2009 14:25
Version 0.9.7 Released#

This is a maintenance release, with no significant new non-experimental features.

NEW FEATURES#

  • Allow Orc to load include files from the filesystem: use the -I option to specify the include path.
  • Experimental support for "isolated" actors which are garbage collected when blocked permanently.
  • Adding Record site for creating record-like objects.
  • Demo of a compiler backend which translates OIL into Orc-like source text.
  • Adding -oil option to Orc compiler to output Oil.
  • Report parse errors in include files more clearly. Report a few kinds of parse errors (where backtracking is unwarranted) more clearly.
  • Type assertions are now available; write :!: T to assert T as the type of an expression or the return type of a definition.

CHANGES#

  • Detect when a program is blocked permanently (sometimes) and halt execution.
  • New semantics for nested logical timers: a parent timer can advance when its children are quiescent (as opposed to halted).
  • Moving lib.data to lib.state.
  • All non-Kilim Java methods and constructors should evaluate in the "sites" thread.
  • Publish pattern (!p) has been removed from the language completely.
  • Before/After events no longer appear in traces. A future version will restore this functionality.

BUG FIXES#

  • Fix parsing of floating point. Bug found by Sydney.
  • Fix Eclipse 3.1 compilation issues.
  • Fixing OIL->XML serialization error with Orc field values.
  • Fixing parse error for "type x = lambda () :: ..."
01-Apr-2009 12:02
New paper completed#

We recently completed a new paper to appear in Proceedings of FMOODS/FORTE 2009, where Prof. Misra is the invited speaker. While most of the material in the paper has already appeared in an expanded form in the user guide, this paper serves as a slightly more compact introduction to the Orc language and its use.

13-Mar-2009 01:04
CVS Outage#

Our project's SourceForge CVS repository has been inaccessible since sometime yesterday evening. According to http://apps.sourceforge.net/wordpress/sourceforge/2009/03/11/2009-03-10-service-cvs-unplanned-downtime-update/ service will not be restored until sometime Friday. Apologies for any inconvenience.

UPDATE Fri Mar 13 1am: CVS service appears to be restored now.

07-Mar-2009 11:49
News Blog Added#

This is the first official entry in the Orc news blog. The goal of this blog is to provide a record of activity on the project, such as releases and important bugfixes. Just so the blog doesn't look embarassingly empty, I have posted some old release notes, back-dated.

Some recent documentation activity:

  • There is now a community-maintained FAQ. Hopefully this will grow as we get more users asking questions.
  • The User Guide now includes a fairly comprehensive chapter on implementing sites to be used by Orc programs.

I'd also like to report a few enhancements to the development version of Orc (available via CVS):

  • The standalone compiler has a new option -oil which allows you to generate an XML representation of a desugared AST, called OIL (Orc Intermediate Language). This should be helpful for external analysis tools and alternate implementations of the engine, so they don't have to implement their own parser and compiler frontend. You can learn about the structure of OIL from the Javadoc. To generate a copy of the schema, run the class orc.ast.oil.Oil (bundled with the compiler JAR).
  • For people interested in developing their own compiler backends who don't want to parse OIL XML, there is a demonstration of how to invoke the compiler frontend and translate OIL to an arbitrary intermediate representation: https://orc.cvs.sourceforge.net/viewvc/orc/OrcJava/src/orc/BackendDemo.java?view=markup
07-Mar-2009 11:29
Version 0.9.6 Released#

The goal of this release is to get important bugfixes and enhancements released before we embark on a significant refactoring of the engine to make it more extensible.

Highlights of this release:

NEW FEATURES#

  • Improved prototype type checker and type annotation syntax: now actually usable for most real programs.
  • withLock, rangeBy, altMap, joinMap, seqMap functions added to stdlib.
  • types which can be tested for structural equality are registered in a set which can be augmented by user libraries.
  • Prototype runtime (dag, token, etc) support for transactions.
  • Prototype implementation of nestable and independent logical timers.
  • Set, Map, and Array support site call notation for reading and
writing elements, e.g. "a(3) := 4"

BUG FIXES#

  • Compiler service works correctly.
  • Web service examples work correctly.
  • Compiles and runs under JRE 1.6 (Java SE 6).
  • The "unguarded recursion checker" handles semicolon correctly.
  • Fix bugs with foldr1 and range in stdlib.
  • Fix bug with using immutable values as keys in Map and Set.

OTHER CHANGES#

  • Publish patterns (">!x>") no longer supported; use " >x> ( x | ... )" instead.
  • Stdlib "por" and "pand" take lists instead of two arguments.
  • "sequence" stdlib function renamed to "seq".
  • Left and Right datatypes no longer included in stdlib.
  • Tokens are no longer pooled; speed benefit is not significant enough to justify memory wastage.
  • Failed pattern matching in definitions causes an error message.
07-Mar-2009 11:27
Version 0.9.5 Released#

Highlights of this release:

SYNTAX#

  • New syntactic sugar "x?" and "x:=y" for reference reads and writes.
  • Operators can be written in prefix form (or unapplied) using parentheses: "(+)" is equivalent to "lambda (a,b) = a+b".
  • New "type" declaration for declaring algebraic data type constructors.
  • Any combinator is allowed unparenthesized within if/then/else.
  • Allow apostrophe in var names.
  • Allow nested comments.
  • Newline-sensitivity avoids ambiguity about where expressions end.

SEMANTICS#

  • Equality operator "=" now obeys substitutability principle.
  • New semantics for semicolon operator: in "a ; b", "b" runs only if "a" fails without publishing any values.
  • Java fields can be accessed with the dot operator.

LIBRARY#

  • Standard library organized, documented, and expanded with many more useful sites and definitions.
  • Experimental support for "doc" tags ala javadoc, translated into docbook syntax by a special parser.

IMPLEMENTATION#

  • Enforceable limits on recursive stack depth and logical threads.
  • A closure only keeps variables used in the closure live, for garbage collection purposes.
  • Definitions are organized into mutually-recursive groups to keep environments small and avoid false depenendencies on futures introduced by the pruning combinator.
07-Mar-2009 11:24
Version 0.9.4 Released#

I'm pleased to announce the release of a new version, timed to coincide with the initial version of the new userguide. Some of the highlights of this release:

SYNTAX#

  • New syntactic sugar for if/then/else: if X then Y else Z <=> if(b) >> Y | if(~b) >> Z <b< X
  • New syntax "signal" as a (prefered) synonym for "()" and "let()"
  • "." may now be used to the right of any basic expression (not just a variable or call) so for example "3.toString()" should work.

SEMANTICS#

  • Revised semantics for logical timers: logical time is not allowed to proceed as long as there are pending calls to any other sites. This semantics, while easier to reason about, makes correct programs harder to write, so we are still investigating alternatives.
  • Fixed semicolon operator so that the left expression is recognized as dead when all tokens have left it (even if they are not dead yet).
  • Support for constructing and using Java arrays, including primitive arrays.
  • Allow list deconstructors to be used on strings (like Haskell).
  • Java implicit unboxing and conversions work in many more cases.
  • Unguarded direct recursion is detected as a compile-time error.

IMPLEMENTATION#

  • Support for recording traces of programs, to be used for debugging and profiling tools current under development
  • Regression tests based on JUnit added. We can now test all of the example programs for correct behavior (ignoring non-determinism) as well as parsability.
  • Huge increase in efficiency of Java integration

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-4) was last changed on 09-Jun-2016 15:41 by John Thywissen