Category Archives: Mint

BSD License for the Reflection-Based S-Expression Parser

About a year and a half ago, I wrote a class in Java that uses reflection to create a parser for S-expressions, based on a class hierarchy. Today, a reader had found the class and wanted to use it in … Continue reading

Posted in Mint, Uncategorized | Leave a comment

Print This Print This   Email This Email This

Automatic Generation of Optimized Domain-Specific Operations, by Jason Eckhardt

Jason Eckhardt, a student of Keith Cooper, had an interesting COMP 600 talk about StencilDSL and simplifying writing certain stencil-based array operations: Automatic Generation of Optimized Domain-Specific Operations In previous work, we introduced a compiler-based algorithm for eliminating inter-iteration redundancies … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

New Mint Release: r15952

I made a new release of Mint and DrJava with Mint yesterday: October 19, 2010 (r15952). The latest release is, as always, available from the Mint implementation page: JavaMint-r15952.tar.gz JavaMint-r15952-binaries.zip drjava-r5403-mint-r15952.jar There were several bug fixes regarding assignment to variables … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

Back from GPCE 2010

After a rather long return journey and more than enough time at the Amsterdam-Schiphol airport, I’m back from my trip to GPCE 2010 in Eindhoven. It was fun. Eddy and I presented a tutorial on DSL implementation in Mint. Of … Continue reading

Posted in Mint, Pictures | Leave a comment

Print This Print This   Email This Email This

Benoît Mandelbrot Died at Age 85

Just after Eddy and I used the Mandelbrot set as benchmark in our DSL tutorial, Benoît Mandelbrot died. The Franco-American mathematician, who is most well-known for popularizing fractal geometry, died at the age of 85. Thank you for giving us … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

Another Image Processing Example in Our Staged DSL

Last night, we implemented a Mandelbrot example in the image processing DSL that we created for our GPCE tutorial. Here’s a screenshot.

Posted in Mint | 1 Comment

Print This Print This   Email This Email This

GPCE’10 Tutorial Slides

The slides for our GPCE 2010 tutorial presentation “Agile and Efficient Domain-Specific Languages using Multi-Stage Programming in Java Mint” are available now as PowerPoint and PDF file. The zip file with the source code for our GPCE 2010 tutorial is … Continue reading

Posted in Mint | 1 Comment

Print This Print This   Email This Email This

GPCE’10 Tutorial Source

Here is a zip file with the source code for our GPCE 2010 tutorial. The simplest way to experiment with Mint is to download the latest version of DrJava with Mint. (Re-posted from The Java Mint Blog.)

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

Gaussian Blur Implemented in Our DSL

Sexy! A screenshot showing an original image of random grayscale values, and a blurred version of the image, with the source code in our example DSL for the GPCE tutorial in the background.

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

Power_Let Was Wrong

I just did some experiments with Mint, because we ran into some problems with using HJ inside DrJava, and I wanted to make sure we didn’t have those problems. That’s when I noticed that our Power_Let example had been wrong. … Continue reading

Posted in Mint, Ramblings | Leave a comment

Print This Print This   Email This Email This

Demo of DrJava/HJ

In today’s DrJava/Habanero meeting, Vincent, Jarred and I presented a demo of DrJava/HJ to Jack Dennis of MIT. Generally, we were quite pleased how we could just re-build Habanero Java and DrJava, and get a working version with the newest … Continue reading

Posted in DrJava, Mint | Leave a comment

Print This Print This   Email This Email This

New Mint Release: r15858

I made a new release of Mint and DrJava with Mint yesterday: September 29, 2010 (r15858). The latest release is, as always, available from the Mint implementation page: JavaMint-r15858.tar.gz JavaMint-r15858-binaries.zip drjava-r5398-mint-r15858.jar We have added the 1edu.rice.cs.mint.runtime.CodeFree interface and the 1edu.rice.cs.mint.runtime.CheckedExceptionInCode … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

New Mint Release: r15772

We have just made a new release of Mint and DrJava with Mint: September 16, 2010 (r15772). The latest release is, as always, available from the Mint implementation page: JavaMint-r15772.tar.gz JavaMint-r15772-binaries.zip drjava-r5385-mint-r15772.jar We have added the 1edu.rice.cs.mint.runtime.MintSerializer class to it … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

Mint on the Mac

I guess I’m a bit behind the technology curve. The MacBook that I’m using as one of my development machines is one of the original white Intel MacBooks with a Core Duo CPU (not Core 2 Duo). It’s a 32-bit … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

Reflection-Based S-Expression Parser

I’m really quite proud of this little reflection-based S-expression parser that I wrote for our GPCE Mint tutorial. We wanted to have a parser so we don’t have to construct our ASTs using Java code. The problem was that we’ll … Continue reading

Posted in Mint | 1 Comment

Print This Print This   Email This Email This

String Pool Interning Saves the Weakly Separable Day

I just took a swim in the string pool. Who would have thought that interning strings would be so useful for weak separability in Mint? I knew before that we had some problems calling 1String.equals in a separable method, like … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

New Mint Release: r15716

As mentioned before, Eddy and I discovered a problem with type variables in code generated by the Mint compiler. We have now fixed this problem in the new release of Mint and DrJava with Mint: August 30, 2010 (r15716). The … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

Passing a Class<T> for Every Type Variable T

When working on our GPCE Mint tutorial, Eddy and I realized that there is a problem when programmers use type variables inside brackets. A method like 1234public separable <X> Code<X> fun(Code<X> c1, Code<X> c2) { return <| ( `(lfTest.eval(e,f).booleanCodeValue()) ? … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

New Mint Release: r15707

When working on our GPCE tutorial, Eddy and I discovered a small bug in the Mint compiler which I have now fixed in the new release of Mint and DrJava with Mint: August 24, 2010 (r15707). The latest release is, … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This

New Mint Release: r15700

On Friday, I created a new release of Mint and DrJava with Mint: August 20, 2010 (r15700). The latest release is, as always, available from the Mint implementation page: JavaMint-r15700.tar.gz JavaMint-r15700-binaries.zip drjava-r5372-mint-r15700.jar The only changes that we made were a … Continue reading

Posted in Mint | Leave a comment

Print This Print This   Email This Email This