Articles

  • No categories

Whiley v0.3.5 released!

ChangeLog

  1. Separated compiler up into two main components as follows:
    • The Whiley Compiler (wyc).  This provides a base compiler which is responsible for parsing whiley programs, as well as type checking and constraint checking them.  This outputs whiley bytecode (wyil) which can then either be executed directly, or compiled to some target platform (e.g. JVM)
    • The Whiley-to-Java Compiler (wyjc).  This extends the base compiler in two ways: firstly, it supports compiling wyil code to jvm bytecode and provides an appropriate runtime;  secondly, it provides a mechanism whereby whiley programs can interface with Java libraries.

    This now paves the way for other compiling whiley programs to other platforms (e.g. llvm).

  2. In separating out the two main components of the compiler, I also added a generic mechanism for processing command-line arguments and constructing Whiley Compiler pipelines.  This probably needs more work, but it lets you easily construct a default pipeline and then add/remove/configure pipeline stages.
  3. Changed message send syntax and implement thread-based Actors.  Firstly, synchronous message sends are distinguished from asynchronous ones using special syntax.  Thus, out<->println(...) is a synchronous message send, whilst out<-println(...) is an asynchronous message send. Actors are now implemented using JVM threads, where each Actor corresponds to a single thread. This is not an efficient approach, particularly as it won’t scale up beyond a few hundred actors. However, it’s a useful stopgap to demonstrate the actor system and let me play with it.
  4. Fixed numerous bugs
wdk-src-v0.3.5
Created on May 8, 2011. 266 Downloads, 927.3 KB.
BSD License
wyjc-v0.3.5
Created on May 8, 2011. 438 Downloads, 666.9 KB.
BSD License
wybench-v0.1.1
Created on May 8, 2011. 309 Downloads, 2.2 MB.
BSD License

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>