We have several projects related to the implementation of the language that are ongoing.
- Continued Work implementing Grace on DrRacket
- Grace on DrRacket:
The front end of a Grace compiler on DrRacket is mainly done, while some parts of the backend are also done. However, they need to be integrated and take advantage of the hooks into the IDE. For this project it would be very helpful to have some experience implementing languages in DrRacket. (email@example.com)
- Grace type inference in DrRacket:
Grace is a gradually typed programming language, allowing a mix of statically and dynamically typed code. We wish to provide help for programmers who wish to convert code from dynamically to statically typed. Rather than having the computer perform type inference automatically (as in ML or Haskell) we want the IDE (in this case DrRacket) to suggest type annotations that the programmer can either accept or reject.A student has been working on this project and has made a good start. We are looking for someone to extend the type inference of this tool to make it more useful for programmers. Familiarity with Racket and DrRacket as well as some experience with the specification of type systems would be helpful for this project. (firstname.lastname@example.org)
- Grace on DrRacket:
- Grace on the JVM
- Investigate methods used by other languages, like Clojure, Jython and JRuby, to not only execute on the JVM, but also to call Java libraries. For example, some languages use Java reflection to create, on-the-fly, a “wrapper” that can be used to call Java libraries, and more recent implementations use the new invokedynamic bytecodes. Select a suitable mechanism and implement a JVM back-end for minigrace. (email@example.com)
- Grace on BlueJ:
Using Grace on the JVM, implement a Grace parser for BlueJ, and adapt BlueJ to support Grace objects. (firstname.lastname@example.org)
- Grace using java.util.concurrent:
Using Grace on the JVM, implement concurrency libraries for Grace based on java.util.concurrent, or perhaps some Java message-passing library.
- Type-checker for the minigrace compiler
We have a partial set of type rules for grace, and preliminary ideas on how to combine static and dynamic typing using the notion of gradual typing, which will guarantee type safety even mixing statically and dynamically typed code are mixed together.. The goal of this project would be to implement these rules in the existing Grace compiler, and see how they behave in practice. (email@example.com)
- Libraries and dialects
- GUnit library
Complete the implementation of GUnit, Grace’s Unit testing framework. (firstname.lastname@example.org)
- Behavioural specification dialect
Behaviour-Driven Development (BDD) is like test-driven development, but with an emphasis on making the specifications readable by domain experts as well as by implementors. BDD relies on the existence of a ubiquitous language that all the stakeholders in a project can use to communicate about the behaviour of the software.The aim of this project is to (1) define a domain-specific language, similar to RSpec or Gherkin, that can be used for describing desired behavior, and (2) to implement it as a DSL in Grace, using the modules and dialects of Grace. (email@example.com)
- Comprehensive Collections LibrariesDesign interfaces and implementations for both mutable and immutable collection frameworks for Grace. Inspiration can be drawn from the mutable collections of Smalltalk (with comprehensive internal iterators), the in-development revised iteration framework for Java 8, the Fortress immutable object-oriented collections, and tree-structured collections used in some functional languages.The major challenge is not in implementation, since we are not overly concerned with efficiency, and implementation details can always be tweaked later, but in getting the interfaces right. This is arguably at least as important as the design of the Grace language itself. (firstname.lastname@example.org, email@example.com)
- GUnit library
- Graphics & Multimedia
- Sound support for GraceSome sort of media support is important for Grace, since media-based computing has been shown to be a good way to get beginning programmers “hooked”. So support for still images and sound, in some way or other, is essential. The goal of this project is to figure out the most effective way to provide audio support, and develop audio programming environments, such as Gibber or Chuck. (James Noble, firstname.lastname@example.org)
- Parallelism and Concurrency
- Actor-style concurrency with immutable objectsScala has a good implementation of message passing concurrency using the actor model. Provide a library to support for the Actor model in Grace.
- Shared memory concurrency using Habanero modelThere are many different points of view about how to best teach parallelism. A good approach for this project would be to find a proven set of teaching materials (such as those from Jens Mache’s NSF-sponsored project) and figure out what language features and libraries are needed to support that teaching approach in Grace. A very promising design is that presented in the Habanero Multicore Software Research Project at https://wiki.rice.edu/confluence/display/HABANERO/Habanero+Multicore+Software+Research+Project.
- Curricula, Documentation, Evaluation“The best way to evaluate a design is to write the manual”
- Grace ResourcesBeginners learning Grace will need teaching materials: text, web pages, examples, assignments, videos, screencasts… Even though the language design is still evolving, it is now stable enough that we plan to start teaching experiments later in 2013. We need resources for students and instructors to help them learn and teach Grace — and to help us find the parts of the language that are difficult to teach or to explain. (James Noble, email@example.com)
- Grace for the impatient/ How to design Grace programs/ Grace by Example/ There are a lots of great programming books about particular languages. This task is to pick your favourite programming language book and Gracify it. We hope this will find some examples that work well in Grace, and others that indicate rough spots in the language design (James Noble, firstname.lastname@example.org)