Modern Compiler Implementation in Java: the MiniJava Project http://www.cambridge.org/resources/052182060X/

Modern Compiler Implementation in Java: the MiniJava Project


Grammar | Sample MiniJava Programs | Framework | Software | Java Reference


What is Mini-Java?

MiniJava is a subset of Java. The meaning of a MiniJava program is given by its meaning as a Java program. Overloading is not allowed in MiniJava. The MiniJava statement System.out.println( ... ); can only print integers. The MiniJava expression e.length only applies to expressions of type int [].

The Grammar link has the formal BNF for MiniJava. You can also view some sample MiniJava programs under the Programs link. The Framework link provides a helpful interface to write a MiniJava Compiler. The software link has links to software and tools that may be helpful to write and test your compiler. The Java Reference is a helpful resource to learn the language. And the MiniJava Reference is a miniJava reference manual from the appendix of the book.

(C) MiniJava project by Joao Cangussu, Jens Palsberg and Vidyut Samanta.


Grammar

Sample MiniJava Programs

The following are some sample MiniJava programs that you may use to test the correctness of your compiler. All of these programs can be compiled with javac and output compared with your results.

Framework

The links below provide a helpful framework for writing a MiniJava compiler, and are organized according to the chapters in the book.

Software

Java Reference

The following links provide a good resource for learning Java:
 

Browse by area 
Academic & ProfessionalEducation
English Language TeachingJournals
Bibles 
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值