comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLMain.java @ 20956:2170de9acab0

SL: use DSL for call dispatches.
author Christian Humer <christian.humer@gmail.com>
date Tue, 14 Apr 2015 15:16:14 +0200
parents d1c1cd2530d7
children 99942eac9c6d
comparison
equal deleted inserted replaced
20955:f7bc60c3a8f6 20956:2170de9acab0
84 * not visible outside of the block where they were first defined. 84 * not visible outside of the block where they were first defined.
85 * <li>Basic control flow statements: {@link SLBlockNode blocks}, {@link SLIfNode if}, 85 * <li>Basic control flow statements: {@link SLBlockNode blocks}, {@link SLIfNode if},
86 * {@link SLWhileNode while} with {@link SLBreakNode break} and {@link SLContinueNode continue}, 86 * {@link SLWhileNode while} with {@link SLBreakNode break} and {@link SLContinueNode continue},
87 * {@link SLReturnNode return}. 87 * {@link SLReturnNode return}.
88 * <li>Function calls: {@link SLInvokeNode invocations} are efficiently implemented with 88 * <li>Function calls: {@link SLInvokeNode invocations} are efficiently implemented with
89 * {@link SLAbstractDispatchNode polymorphic inline caches}. 89 * {@link SLDispatchNode polymorphic inline caches}.
90 * </ul> 90 * </ul>
91 * 91 *
92 * <p> 92 * <p>
93 * <b>Syntax and parsing:</b><br> 93 * <b>Syntax and parsing:</b><br>
94 * The syntax is described as an attributed grammar. The {@link Parser} and {@link Scanner} are 94 * The syntax is described as an attributed grammar. The {@link Parser} and {@link Scanner} are