@o-lang/olang 1.0.5 → 1.0.6

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 (3) hide show
  1. package/cli.js +2 -2
  2. package/package.json +1 -1
  3. package/src/parser.js +1 -1
package/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  const { Command } = require('commander');
3
- const { parse } = require('../src/parser'); // adjusted path if bin vs root
4
- const { execute } = require('../src/runtime');
3
+ const { parse } = require('./src/parser');
4
+ const { execute } = require('./src/runtime');
5
5
  const fs = require('fs');
6
6
  const path = require('path');
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o-lang/olang",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "author": "Olalekan Ogundipe <info@workfily.com>",
5
5
  "description": "O-Lang: A governance language for user-directed, rule-enforced agent workflows",
6
6
  "main": "./src/index.js",
package/src/parser.js CHANGED
@@ -23,7 +23,7 @@ function parse(code, fileName = null) {
23
23
  let line = lines[i];
24
24
 
25
25
  // ============================
26
- // NEW: Detect math operations
26
+ // NEW: Detect math operations..
27
27
  // ============================
28
28
 
29
29
  // Add X and Y