David Zook, Shan Shan Huang, Yannis Smaragdakis


Here are some example MAJ files. You can parse them by calling:
% java maj.Main <filename>
A file with the same name as the input file, but extension .java instead of .maj will be created. All the examples files create segments of code, and calls System.out.println(myMAJCode.unparse()), which prints out the templated code.