witheve / Eve

Better tools for thought
http://witheve.com
Apache License 2.0
7.16k stars 257 forks source link

Prevent exception from program which parses to no code blocks #850

Closed btheado closed 7 years ago

btheado commented 7 years ago

Program.inputEAVs throws an exception when the input eav array is empty, so Program.load shouldn't call it when no code blocks are returned from parsing the document.