@moskva/runtime 0.1.0 → 0.1.1

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/MOCKBA-500.png ADDED
Binary file
package/changes.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 28 jan 2026
2
+
3
+ ### 0.1.1
4
+
5
+ - add splash screen and readme change; add homepage.
6
+
1
7
  ## 27 jan 2026
2
8
 
3
9
  ### 0.1.0
package/package.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
2
  "name": "@moskva/runtime",
3
- "version": "0.1.0"
3
+ "version": "0.1.1",
4
+ "scripts": {
5
+ "t": "git tag @javish/base-v$(node -p \"require('./package.json').version\") && git push --tags"
6
+ },
7
+ "homepage": "рантайм.москва"
4
8
  }
package/readme.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Runtime Moskva
2
2
 
3
+ <p>
4
+ <img src=./MOCKBA-500.png>
5
+ </p>
6
+
3
7
  This runtime provides callable instances of `Runnable` functional interfaces. A
4
8
  `Runnable` is a class instance that can be invoked like a function.
5
9
 
@@ -23,6 +27,7 @@ var runner=new class extends Runnable {
23
27
  const(){
24
28
  this.test=[]
25
29
  this.test.push(new Date)
30
+ // or this.test=['test']
26
31
  }
27
32
  test2(){
28
33
  return this.test
@@ -42,30 +47,11 @@ calling runner:
42
47
  < Hello runner; test = [ 2026-01-27T23:19:34.106Z ]
43
48
  ```
44
49
 
45
- ---
46
-
47
- ```js
48
- var runner2 = new class extends Runnable {
49
- // can't use fieldss / constructor
50
- // new_field = []
51
- const() {
52
- this.test=['test']
53
- }
54
- run() {
55
- console.log(' < Hello runner2; test =',this.test)
56
- }
57
- }
58
-
59
- console.log('calling runner2:')
60
- runner2()
61
- ```
62
- ```sh
63
- calling runner2:
64
- < Hello runner2; test = [ 'test' ]
65
- ```
50
+ ### Purpose
66
51
 
67
- Instances of standard, non-runnable classes cannot be invoked. This behaviour is
68
- only available when extending `Runnable`.
52
+ Since instances of standard, non-runnable classes cannot be invoked. This
53
+ behaviour is only available when extending `Runnable`, to enable emulation of
54
+ Java's functional interfaces that are supposed to implement 1 method.
69
55
 
70
56
  ## Implementation requirements
71
57