I always dread asking students to use any software besides Visual Studio or Java/Eclipse, since it means I have to worry about whether or not
- they have it installed
- they have it installed correctly
- they have the right version
- etc.
It occurred to me today that JFlex and CUP are both written in Java, so I could simply include them in the assignment skeleton! This took me all of about 5 minutes. Now I have a compiler assignment skeleton that requires only Java and Eclipse. In fact, it has an Ant script, so you don't even have to use Eclipse. So far I've only verified that it works on Linux, but I'm pretty confident that it will work on Windows, too.
JFlex and CUP are both free software, so there are no license issues to worry about.
No comments:
Post a Comment