fez-lisp 1.5.1 → 1.5.3

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.
package/README.md CHANGED
@@ -40,8 +40,8 @@ World
40
40
  ```
41
41
 
42
42
  ```js
43
- import { parse, debug } from 'fez-lisp'
44
- debug(
43
+ import { parse, evaluate } from 'fez-lisp'
44
+ evaluate(
45
45
  parse(`(let *input* "1721,979,366,299,675,1456")
46
46
  (let solve (lambda arr cb
47
47
  (array:fold arr (lambda a b (do
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.5.1",
5
+ "version": "1.5.3",
6
6
  "type": "module",
7
7
  "main": "index.js",
8
8
  "keywords": [
package/src/utils.js CHANGED
@@ -1,17 +1,5 @@
1
1
  import std from '../lib/baked/std.js'
2
- import { compile } from './compiler.js'
3
- import {
4
- APPLY,
5
- ATOM,
6
- DEBUG,
7
- FALSE,
8
- KEYWORDS,
9
- RUNTIME_TYPES,
10
- TRUE,
11
- TYPE,
12
- VALUE,
13
- WORD
14
- } from './keywords.js'
2
+ import { APPLY, ATOM, KEYWORDS, TYPE, VALUE, WORD } from './keywords.js'
15
3
  import { evaluate } from './evaluator.js'
16
4
  import { isLeaf, LISP } from './parser.js'
17
5
  import {
@@ -20,7 +8,6 @@ import {
20
8
  handleUnbalancedQuotes,
21
9
  OPTIMIZATIONS
22
10
  } from './macros.js'
23
- import { keywords } from './interpreter.js'
24
11
  export const logError = (error) =>
25
12
  console.log('\x1b[31m', `\n${error}\n`, '\x1b[0m')
26
13
  export const logSuccess = (output) => console.log('\x1b[32m', output, '\x1b[0m')