kuhul-es 1.0.7 → 1.0.10

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.
File without changes
package/bin/kuhul-es.js CHANGED
@@ -1,57 +1,50 @@
1
- #!/usr/bin/env node
2
- // KUHUL-ES CLI
3
- 'use strict';
4
-
5
- const { program } = require('commander');
6
-
7
- console.log(`
8
- ╔══════════════════════════════════════╗
9
- ║ KUHUL-ES v1.0.7 ║
10
- ECMAScript syntax, KUHUL semantics
11
- ╚══════════════════════════════════════╝
12
- `);
13
-
14
- program
15
- .name('kuhul-es')
16
- .description('KUHUL-ES - The Trojan Horse for KUHUL semantics')
17
- .version('1.0.0');
18
-
19
- program
20
- .command('init [project-name]')
21
- .description('Initialize a new KUHUL-ES project')
22
- .action((projectName = 'my-kuhul-app') => {
23
- console.log(`Creating project: ${projectName}`);
24
- });
25
-
26
- program
27
- .command('compile <file>')
28
- .description('Compile KUHUL-ES source file')
29
- .action((file) => {
30
- console.log(`Compiling: ${file}`);
31
- });
32
-
33
- program
34
- .command('run <file>')
35
- .description('Run a KUHUL-ES program')
36
- .option('--record', 'Record deterministic execution trace')
37
- .option('--replay <hash>', 'Replay from a recorded trace')
38
- .action((file, options) => {
39
- console.log(`▶ Running KUHUL-ES file: ${file}`);
40
-
41
- if (options.record) {
42
- console.log('⏺ Recording execution trace');
43
- }
44
-
45
- if (options.replay) {
46
- console.log(`⏮ Replaying trace: ${options.replay}`);
47
- }
48
-
49
- console.log('⚙ KUHUL runtime booting...');
50
- console.log('✓ Execution complete (stub)');
51
- });
52
-
53
- program.parse(process.argv);
54
-
55
- if (!process.argv.slice(2).length) {
56
- program.outputHelp();
57
- }
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ // KUHUL-ES CLI
5
+
6
+ const { program } = require('commander');
7
+
8
+ console.log(`
9
+ ╔══════════════════════════════════════╗
10
+ KUHUL-ES v1.0.10
11
+ ║ ECMAScript syntax, KUHUL semantics ║
12
+ ╚══════════════════════════════════════╝
13
+ `);
14
+
15
+ program
16
+ .name('kuhul-es')
17
+ .description('KUHUL-ES - The Trojan Horse for KUHUL semantics')
18
+ .version('1.0.8');
19
+
20
+ program
21
+ .command('init [project-name]')
22
+ .description('Initialize a new KUHUL-ES project')
23
+ .action((projectName = 'my-kuhul-app') => {
24
+ console.log(`Creating project: ${projectName}`);
25
+ });
26
+
27
+ program
28
+ .command('compile <file>')
29
+ .description('Compile KUHUL-ES source file')
30
+ .action((file) => {
31
+ console.log(`Compiling: ${file}`);
32
+ });
33
+
34
+ program
35
+ .command('run <file>')
36
+ .description('Run a KUHUL-ES program')
37
+ .option('--record', 'Record deterministic execution trace')
38
+ .option('--replay <hash>', 'Replay from a recorded trace')
39
+ .action((file, options) => {
40
+ console.log(`▶ Running: ${file}`);
41
+ if (options.record) console.log('⏺ Recording execution');
42
+ if (options.replay) console.log(`⏮ Replaying ${options.replay}`);
43
+ console.log('✓ Execution complete (stub)');
44
+ });
45
+
46
+ program.parse(process.argv);
47
+
48
+ if (!process.argv.slice(2).length) {
49
+ program.outputHelp();
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kuhul-es",
3
- "version": "1.0.7",
3
+ "version": "1.0.10",
4
4
  "main": "src/index.js",
5
5
  "bin": {
6
6
  "kuhul-es": "bin/kuhul-es.js"
@@ -20,6 +20,7 @@
20
20
  "node": ">=14"
21
21
  },
22
22
  "dependencies": {
23
- "commander": "^14.0.2"
23
+ "commander": "^14.0.2",
24
+ "kuhul-es": "^1.0.9"
24
25
  }
25
26
  }