functionalscript 0.0.526 → 0.0.528

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
@@ -33,3 +33,8 @@ FunctionalScript code can be used
33
33
  - in any JavaScript/TypeScript application,
34
34
  - as a JSON with expressions,
35
35
  - as a query language.
36
+
37
+ ## Sponsors
38
+
39
+ - [KirillOsenkov](https://github.com/KirillOsenkov)
40
+ - [antkmsft](https://github.com/antkmsft)
package/fjson/README.md CHANGED
@@ -6,3 +6,21 @@
6
6
 
7
7
  - can serialize/deserialize without reading source code
8
8
  - no function serialization/deserialization
9
+
10
+ ## Next steps
11
+
12
+ - [x] identifiers
13
+ - [x] big int
14
+ - [ ] `module.exports = ...`
15
+ - [ ] constants `const a = [3];module.exports = { a: a, b: a }`. Serialization `const _0=[3];module.exports={a:_0,b:_0}`
16
+ - [ ] import `const a = require('c.fon.js');module.exports = { a: a, b: a}`
17
+
18
+ Optional, for fun, syntax sugar:
19
+
20
+ - [ ] comments. Ignore them. Not an error.
21
+ - [ ] double/single quote strings
22
+
23
+ ## Decidable Language
24
+
25
+ - [ ] using operator and functions `const a = 2+2+Math.abs(5); module.exports = { a: a };`
26
+ - [ ] decidable functions `const f = a => b => a + b; module.exports = f(1)(2)`?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "functionalscript",
3
- "version": "0.0.526",
3
+ "version": "0.0.528",
4
4
  "description": "FunctionalScript is a functional subset of JavaScript",
5
5
  "main": "module.f.cjs",
6
6
  "scripts": {