diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-06 13:32:18 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-06 13:43:12 -0400 |
| commit | 5cd9e7b5e7a4f4b55814590abdf56254fb84b54e (patch) | |
| tree | 09a691f65937dc517ee9c88fdc46ae078abc1e61 /test | |
| parent | ab3a1a403f41b8993f734ce37b3d81c6b66475e5 (diff) | |
Add dcshim to call compiler from any current directory
Diffstat (limited to 'test')
| -rwxr-xr-x | test/dt.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -9,9 +9,8 @@ const t=load('cases.bqn').split('\n').filter(x=>x).map(x=>x.split(' % ')) , expt=t.map(e=>+e[0]) var compiler = execFile( - __dirname+'/../spec/dzref', - [ __dirname+'/../dc.bqn', - '{•←Compile𝕩}¨⟨'+test+'⟩' ], + __dirname+'/../dcshim.bqn', + [ '{•←Compile𝕩}¨⟨'+test+'⟩' ], function (error, stdout, stderr) { const rslt=stdout.split('\n').filter(a=>a.length) .map(a=>runWasm(a.split("‿").map(n=>+n))) |
