@@ -75,6 +75,18 @@ contains the following:
7575    -  ` next ` : remaining array items (after first)
7676    -  ` push ` : same as ` Array.prototype.push(...) ` 
7777    -  ` reduce ` : list/array reduction
78+ -  string/regexp processing
79+     -  ` capitalize ` 
80+     -  ` lower ` 
81+     -  ` upper ` 
82+     -  ` pad-left ` 
83+     -  ` pad-right ` 
84+     -  ` substr ` 
85+     -  ` trim ` 
86+     -  ` regexp ` 
87+     -  ` re-match ` 
88+     -  ` re-test ` 
89+     -  ` replace ` 
7890-  misc utilities
7991    -  ` print ` : aka ` console.log(...) ` 
8092    -  ` env ` : JSON stringified version of current root env
@@ -114,7 +126,7 @@ For Node.js REPL:
114126const  lispy  =  await  import (" @thi.ng/lispy" 
115127``` 
116128
117- Package sizes (brotli'd, pre-treeshake): ESM: 1.40  KB
129+ Package sizes (brotli'd, pre-treeshake): ESM: 1.53  KB
118130
119131## Dependencies  
120132
@@ -142,7 +154,7 @@ directory is using this package:
142154[ Generated API docs] ( https://docs.thi.ng/umbrella/lispy/ ) 
143155
144156``` ts tangle:export/readme-1.ts 
145- import  { evalExpressions , ENV  } from  " @thi.ng/lispy" 
157+ import  { evalSource , ENV  } from  " @thi.ng/lispy" 
146158
147159//  define custom FFI in the root environment
148160//  (here it's actually the same as default print fn)
@@ -168,7 +180,7 @@ const SRC = `
168180(print (env)) 
169181` ;
170182
171- evalExpressions (SRC , {... ENV , name: " lispy" 
183+ evalSource (SRC , {... ENV , name: " lispy" 
172184
173185//  output:
174186//  10
@@ -255,6 +267,17 @@ evalExpressions(SRC, {...ENV, name: "lispy"});
255267//    "count": "<function>",
256268//    "first": "<function>",
257269//    "next": "<function>",
270+ //    "lower": "<function>",
271+ //    "upper": "<function>",
272+ //    "capitalize": "<function>",
273+ //    "pad-left": "<function>",
274+ //    "pad-right": "<function>",
275+ //    "substr": "<function>",
276+ //    "trim": "<function>",
277+ //    "regexp": "<function>",
278+ //    "re-test": "<function>",
279+ //    "re-match": "<function>",
280+ //    "replace": "<function>",
258281//    "print": "<function>",
259282//    "env": "<function>",
260283//    "partial": "<function>",
0 commit comments