fez-lisp 1.5.2 → 1.5.4

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
@@ -101,7 +101,7 @@ console.log(compile(parse("(|> [1 2 3 4] (array:map math:square) (math:summation
101
101
 
102
102
  ```lisp
103
103
  ; Build-in all keywords
104
- (/ ...) (+ ...) (* ...) (- ...) (= ...) (< ...) (> ...) (>= ...) (<= ...) (& ...) (~ ...) (| ...) (^ ...) (<< ...) (>> ...) (>>> ...)
104
+ (/ ...) (+ ...) (* ...) (- ...) (= ...) (< ...) (> ...) (>= ...) (<= ...) (& ...) (~ ...) (| ...) (^ ...) (<< ...) (>> ...)
105
105
  (mod ...) (let ...) (if ...) (not ...) (and ...) (or ...) (atom? ...) (lambda? ...)
106
106
  (length ...) (do ...) (array ...) (alter! ...) (get ...) (lambda ...) (apply ...) (throw ...)
107
107
  ```