functionalscript 0.0.526 → 0.0.527
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/fjson/README.md +18 -0
- package/package.json +1 -1
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)`?
|