20 Commits

Author SHA1 Message Date
SpencerPark
72364893a4 Add a maven resolver for looking up dependencies at runtime 2018-06-16 20:39:39 -04:00
SpencerPark
a19e1dec7a Expose a plain render function and use DisplayData if returned by eval 2018-06-09 20:40:46 -04:00
SpencerPark
347e3cf492 MIME rendering! 2018-05-27 20:46:24 -04:00
SpencerPark
9a5b7b1037 Run the shell in the same jvm and also save the actual result rather than the serialized one. 2018-05-13 22:48:57 -04:00
SpencerPark
31ddd9ccfd Fix input stream closing early. Fixes #14 2018-03-23 15:02:46 -04:00
SpencerPark
93e9e7bf5a Disable magics until the transformer is fixed. See #13 2018-02-02 17:52:59 -05:00
SpencerPark
17d8fbeead Bump gradle wrapper version. See #11 2018-01-26 11:49:55 -05:00
Claudio Davi
7b417696ca Updated Ijava to match latest Kernel 2018-01-16 20:51:42 -02:00
SpencerPark
58c6295104 Bump installer version 2018-01-03 18:38:56 -05:00
SpencerPark
b86211ae39 Support more configuration options for the kernel.
Timeout: set a limit on long running statements.
Classpath: add to the runtime classpath.
Startup script paths: run specified initialization scripts.
Startup script: run a specified block of code on startup.
2017-11-11 16:03:29 -05:00
SpencerPark
a5680b4649 Initial magics implementation and default imports.
Imports most of the standard java libraries as the jshell tool does.
These include java.{util,io,math,net}.* and
java.util.{concurrent,prefs,regex}.*

Additionally introductory support for 2 simple magic commands '%sh' and
'%%writefile' for running a shell command and writing to a file.
2017-11-02 18:10:36 -04:00
SpencerPark
6fa83085d4 Print the unresolved dependencies when a declaration snippet is RECOVERABLE_NOT_DEFINED. Fixes #3 2017-10-30 16:45:16 -04:00
SpencerPark
99e32415f6 Use the public release of the gradle plugin 2017-10-26 15:41:59 -04:00
SpencerPark
16613c29b3 Support specifying VM and compiler arguments for the shell executing the user code 2017-10-23 14:07:43 -04:00
SpencerPark
f38d053620 Improve error formatting.
*   Compilation errors don't print a stack trace but rather explain the
error, print the problematic source lines, and highlight the specific
error region.
*   Incomplete source doesn't print a stack trace but rather the
incomplete lines and a message notifying the user that the code is
incomplete.
*   Evaluation exceptions don't print 'EvalException' as the exception
name but instead the class name of the underlying exception that the
exception wraps.
2017-10-07 23:45:27 -04:00
SpencerPark
fe4520a1d4 Set up correct project name and package. Fixed kernel banner to be more helpful in displaying kernel info 2017-10-07 00:52:09 -04:00
SpencerPark
f8916a172f Fixed license header and license plugin configuration 2017-10-06 23:14:37 -04:00
SpencerPark
90cf0fd11a Code cleanup and fix some off by one errors. 2017-10-06 22:56:09 -04:00
SpencerPark
82aad7c59f Improve error messages 2017-10-02 13:18:16 -04:00
SpencerPark
3fcad22106 Base kernel implementation 2017-09-30 20:45:48 -04:00