<commit_before><commit_msg>Add a playground file<commit_after>var parseScheme = require('./parseScheme.js'),
    scheme = require('./schemeTypes');

var parseExpr = function (str) {
  return parseScheme(str)
  .then(function (res) {
    return res.matched[0];
  });
};

var exprStr = '(+ (- (* 2 2) (/ 10 10)) (* (- 1002 1000) (/ 49 7)))';

parseExpr(exprStr)
.then(function (expr) {
  console.log('>>', exprStr)
  console.log(expr.eval(scheme.globalEnv));
})
.catch(function (err) {
   console.log('Error:', err);
});
{'fraction_non_alphanumeric': 0.21042471042471042, 'fraction_numerical': 0.03474903474903475, 'mean_word_length': 4.242424242424242, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5570878', 'n_tokens_mistral': 197, 'n_tokens_neox': 176, 'n_words': 38}