- applyNumbers
Name of a function in your language to perform a callback to foreign function.
Your function should
- findGlobalSymbol
- fourtyTwo
Name of function which will return value 42 as a number. The return value of the
method should be in
- invalidCode
Return a code snippet that is invalid in your language. Its
PolyglotEngine#eval(com.oracle.truffle.a
- mimeType
MIME type associated with your language. The MIME type will be passed to
PolyglotEngine#eval(com.ora
- plusInt
Name of function to add two integer values together. The symbol will be invoked
with two parameters
- prepareVM
Configure your language inside of provided builder. The method should do the
same operations like #p
- returnsNull
Name of a function that returns null. Truffle languages are encouraged to have
their own type repres
- vm
- addToArray
Name of a function to manipulate with an array. The function should take three
parameters: the array
- assertDouble
Assert two double values are the same. Various languages may have different
semantics with respect t
- assertIsObjectOfLanguage