functionalscript 0.0.530 → 0.0.532

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.
Files changed (2) hide show
  1. package/fjson/README.md +4 -1
  2. package/package.json +1 -1
package/fjson/README.md CHANGED
@@ -9,12 +9,15 @@
9
9
 
10
10
  ## Next steps
11
11
 
12
+ - [ ] rename `fjson` to `djs` (data javascript), File extensions: `.d.cjs`, `.d.mjs`, `.d.js`.
12
13
  - [ ] use JS tokenizer
13
14
  - [x] identifiers `{a:5}`
14
15
  - [x] big int
15
16
  - [ ] `module.exports = ...`
16
17
  - [ ] constants `const a = [3];module.exports = { a: a, b: a }`. Serialization `const _0=[3];module.exports={a:_0,b:_0}`
17
- - [ ] import `const a = require('c.fon.js');module.exports = { a: a, b: a}`
18
+ - [ ] import `const a = require('c.d.cjs');module.exports = { a: a, b: a}`
19
+ - [ ] ES6 import `import a from 'c.d.mjs';export default { a: a, b: a}`
20
+ - [ ] short form `const a = 5;module.exports = { a }`
18
21
 
19
22
  Optional, for fun, syntax sugar:
20
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "functionalscript",
3
- "version": "0.0.530",
3
+ "version": "0.0.532",
4
4
  "description": "FunctionalScript is a functional subset of JavaScript",
5
5
  "main": "module.f.cjs",
6
6
  "scripts": {