fez-lisp 1.2.14 → 1.2.16

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
@@ -4,7 +4,7 @@
4
4
  <img width="64" src="./logo.svg"/>
5
5
  </p>
6
6
 
7
- ````lisp
7
+ ```lisp
8
8
  (let fizz-buzz (lambda n
9
9
  (cond
10
10
  (= (mod n 15) 0) "Fizz Buzz"
@@ -34,7 +34,7 @@
34
34
  (math:range 1 100)
35
35
  (array:map fizz-buzz)
36
36
  (log!))
37
- ````
37
+ ```
38
38
 
39
39
  ```lisp
40
40
  ; https://adventofcode.com/2020/day/1
@@ -242,10 +242,11 @@ console.log(fez(tree(`(+ (|> 1 (+ 2) (* 3) (- 1)) (- (* (+ 1 2) 3) 1))`)))
242
242
  ```
243
243
 
244
244
  ```lisp
245
- ; all keywords
245
+ ; Build-in all keywords
246
246
  (/) (+) (*) (-) (=) (<) (>) (>=) (<=) (&) (~) (|) (^) (<<) (>>) (>>>)
247
247
  (mod) (let) (if) (not) (and) (or) (cond) (atom?) (lambda?)
248
248
  (length) (do) (array) (set!) (get) (lambda) (apply) (void)
249
249
  (log!) (log-string!) (log-char!) (clear!)
250
- (|>) (list) (unless)
250
+ ; Syntactic suggar keywords
251
+ (|>) (list) (unless) (array?) (truthy?) (falsy?) (evaluate) '() `() (!=) (<>)
251
252
  ```