Closed Julow closed 4 years ago
I'm ok with this way :+1:.
About tests, the only part where we should have test is about string_find
. But it's fine if we have nothing. It still be a small tool. Just to put the failwith
and I'm ready to merge it.
I just added a blackbox test, should be enough for now.
Thanks!
This adds the binary
bechamel-html
.It takes the JSON output of
Bechamel_js.emit
as stdin and outputs a standalone HTML file to visualize it. That HTML file ishtml/index.html
, this PR only adds a way to make it standalone.This is how I use it:
This is WIP because the code is ugly and there is no test.