Usage - msv2017/gebf GitHub Wiki
When grammar is defined
var lang = {...};
One need a test function, points and results as follows:
var testFunc = x => x + x;
var testPoints = [1, 2, ..., N];
var testResults = testPoints.map(x => testFunc(x));
And call the method:
var gebf = require('gebf');
var result = gebf(lang, testFuncc, testPoints, testResults);
Note that at this point gebf
supports only one-argument test functions.