GraalVM

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
[[GraalVM]] is an enhanced [[JVM]] that contains [[Graal]] compiler as well as set of [[Truffle]] based languages ([[JavaScript]], [[Python]], [[R]], [[Ruby]]). The community version is [[Open source]] and is available for download through [http://graalvm.org graalvm.org].
[[GraalVM]] is an enhanced [[JVM]] that contains [[Graal]] compiler as well as set of [[Truffle]] based languages ([[JavaScript]], [[Python]], [[R]], [[Ruby]]). The community version is [[Open source]] and is available for download through [http://graalvm.org graalvm.org].
-
== Visual [[REPL]] with Charts ==
 
-
The [[GraalVM]] (version 0.9 and newer) comes with command line [[REPL]]. However in today's modern era nobody wants a [[CLI]] right? Everyone wants nice graphs! Luckily there is visual [[REPL]] written by me with the help of [[DukeScript]]. Try it as:
+
See [[GraalVMVisualREPL]].
-
 
+
-
<source lang="bash">
+
-
$ hg clone http://source.apidesign.org/hg/truffledebugdemo repl+charts
+
-
$ cd repl+charts/
+
-
$ hg up -C Charts
+
-
$ JAVA_HOME=~/bin/graalvm mvn install exec:exec
+
-
</source>
+
-
 
+
-
The '''JAVA_HOME''' has to point to your downloaded version of [[GraalVM]] (version 0.9 at least). But then we can have visualization from any [[Truffle]] language, for example [[JavaScript]] array:
+
-
 
+
-
[[Image:REPLwCharts.jpg|600px]]
+

Revision as of 13:19, 30 June 2020

GraalVM is an enhanced JVM that contains Graal compiler as well as set of Truffle based languages (JavaScript, Python, R, Ruby). The community version is Open source and is available for download through graalvm.org.


See GraalVMVisualREPL.

Personal tools
buy