I've been using mostly unmodified Virgil code with some wrapping for quite a while, now it's time to contribute back. This pull request adds a Boot task that runs Virgil from the REPL. Both manual and automatic recompilation is supported.
Besides adding Boot, I also refactored the code that prints diagnostics. Before, Virgil threw an exception on the very first error and printed it; now it lets the compilation finish and then prints the accumulated errors.
I've been using mostly unmodified Virgil code with some wrapping for quite a while, now it's time to contribute back. This pull request adds a Boot task that runs Virgil from the REPL. Both manual and automatic recompilation is supported.
Besides adding Boot, I also refactored the code that prints diagnostics. Before, Virgil threw an exception on the very first error and printed it; now it lets the compilation finish and then prints the accumulated errors.