lambda-calculus.js
function toBLC64(term){
    var blc = toBLC(term);
    var digits = "";
    for (var d=0, l=blc.length; d<=l/6; ++d){
      var i = l - d*6 - 6;
      var bits = i < 0 
        ? ("000001"+blc.slice(0, i+6)).slice(-6)
        : blc.slice(i, i+6);
      digits = base64Table[bits] + digits;
    };
    return digits;
  }
function toBLC64(term){
    var blc = toBLC(term);
    var digits = "";
    for (var d=0, l=blc.length; d<=l/6; ++d){
      var i = l - d*6 - 6;
      var bits = i < 0 
        ? ("000001"+blc.slice(0, i+6)).slice(-6)
        : blc.slice(i, i+6);
      digits = base64Table[bits] + digits;
    };
    return digits;
  }
function toBLC64 ( term ) { var blc = toBLC ( term ) ; var digits = "" ; for ( var d = 0 , l = blc . length ; d <= l / 6 ; ++ d ) { var i = l - d * 6 - 6 ; var bits = i < 0 ? ( "000001" + blc . slice ( 0 , i + 6 ) ) . slice ( - 6 ) : blc . slice ( i , i + 6 ) ; digits = base64Table [ bits ] + digits ; } ; return digits ; }
Term -> String Converts a term to a base64 binary lambda calculus string.
Term - > String Converts a term to a base64 binary lambda calculus string .