funcity 0.1.0 → 0.3.0
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 +5 -1
- package/dist/index.cjs +361 -218
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +361 -218
- package/dist/index.mjs.map +1 -1
- package/dist/parser.d.ts +16 -197
- package/dist/parser.d.ts.map +1 -1
- package/dist/reducer.d.ts +11 -93
- package/dist/reducer.d.ts.map +1 -1
- package/dist/scripting.d.ts +12 -27
- package/dist/scripting.d.ts.map +1 -1
- package/dist/standards.d.ts +21 -8
- package/dist/standards.d.ts.map +1 -1
- package/dist/tokenizer.d.ts +6 -83
- package/dist/tokenizer.d.ts.map +1 -1
- package/dist/types.d.ts +453 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils.d.ts +75 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
A functional language interpreter with text processing.
|
|
4
4
|
|
|
5
|
+

|
|
6
|
+
|
|
5
7
|
[](https://www.repostatus.org/#wip)
|
|
6
8
|
[](https://opensource.org/licenses/MIT)
|
|
7
9
|
|
|
@@ -43,7 +45,7 @@ The following code may further interest you:
|
|
|
43
45
|
|
|
44
46
|
```funcity
|
|
45
47
|
{{
|
|
46
|
-
set printWeather (fun w cond w.sunny 'nice' 'bad')
|
|
48
|
+
set printWeather (fun w (cond w.sunny 'nice' 'bad'))
|
|
47
49
|
}}
|
|
48
50
|
Today is {{printWeather weather}} weather.
|
|
49
51
|
```
|
|
@@ -75,6 +77,8 @@ In other words, funcity is an interpreter that brings the power of functional pr
|
|
|
75
77
|
|
|
76
78
|
## Installation (CLI)
|
|
77
79
|
|
|
80
|
+
TODO:
|
|
81
|
+
|
|
78
82
|
```bash
|
|
79
83
|
npm install -D funcity-cli
|
|
80
84
|
```
|