File tree Expand file tree Collapse file tree 4 files changed +5
-16
lines changed
Expand file tree Collapse file tree 4 files changed +5
-16
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 22
33const encoding = require ( "./encoding" ) ;
44const compile = require ( "./compile" ) ;
5- const samples = require ( "./samples" ) ;
65const inet = require ( "inet-lib" ) ;
76
87const parser = new compile . Parser ( ) ;
@@ -115,7 +114,5 @@ run.debug = debug;
115114run . debug0 = debug0 ;
116115run . debug1 = debug1 ;
117116run . mlc2in = mlc2in ;
118- run . example = samples . fact . replace ( / \n * $ / , "" ) ;
119- run . samples = samples ;
120117
121118module . exports = run ;
Original file line number Diff line number Diff line change 55const lambda = require ( "." ) ;
66const yargs = require ( "yargs" ) ;
77const fs = require ( "fs" ) ;
8+ const path = require ( "path" ) ;
9+
10+ const helper = path . join ( __dirname , "helper.txt" ) ;
11+ const comb = fs . readFileSync ( helper , "utf8" ) ;
812
913const opts = {
1014 algo : {
@@ -61,7 +65,7 @@ let input = argv._[0];
6165if ( ! argv . expr )
6266 input = fs . readFileSync ( input , "utf8" ) ;
6367
64- input = lambda . samples . helper . concat ( input ) ;
68+ input = comb . concat ( input ) ;
6569
6670if ( argv . debug ) {
6771 let eqn ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments