fez-lisp 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/parser.js +1 -0
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "fez-lisp",
3
3
  "description": "Lisp interpreted & compiled to JavaScript",
4
4
  "author": "AT290690",
5
- "version": "1.0.28",
5
+ "version": "1.0.29",
6
6
  "type": "module",
7
7
  "main": "index.js",
8
8
  "keywords": [
package/src/parser.js CHANGED
@@ -49,5 +49,6 @@ export const stringify = (ast) => {
49
49
  .join(' ')})`
50
50
  else if (typeof ast === 'string') return `"${ast}"`
51
51
  else if (typeof ast === 'function') return '()'
52
+ else if (typeof ast === 'boolean') return +ast
52
53
  else return ast
53
54
  }