comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLMain.java @ 21889:45083be8a812

Truffle: add a version string to the information provided with Language registration
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Fri, 05 Jun 2015 18:05:13 -0700
parents 2f9e4d984d16
children
comparison
equal deleted inserted replaced
21755:c052d68e7eac 21889:45083be8a812
131 * In each case, the tool is enabled if a corresponding local boolean variable in this file is set 131 * In each case, the tool is enabled if a corresponding local boolean variable in this file is set
132 * to {@code true}. Results are printed at the end of the execution using each tool's 132 * to {@code true}. Results are printed at the end of the execution using each tool's
133 * <em>default printer</em>. 133 * <em>default printer</em>.
134 * 134 *
135 */ 135 */
136 @TruffleLanguage.Registration(name = "sl", mimeType = "application/x-sl") 136 @TruffleLanguage.Registration(name = "sl", version = "0.5", mimeType = "application/x-sl")
137 public class SLMain extends TruffleLanguage { 137 public class SLMain extends TruffleLanguage {
138 private static SLMain LAST; 138 private static SLMain LAST;
139 private static List<NodeFactory<? extends SLBuiltinNode>> builtins = Collections.emptyList(); 139 private static List<NodeFactory<? extends SLBuiltinNode>> builtins = Collections.emptyList();
140 private final SLContext context; 140 private final SLContext context;
141 141