eolang 0.32.0 → 0.32.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/Formula/eolang.rb CHANGED
@@ -7,9 +7,9 @@ require "language/node"
7
7
  class Eolang < Formula
8
8
  desc "Command-line Tool-Kit"
9
9
  homepage "https://github.com/objectionary/eoc"
10
- url "https://github.com/objectionary/eoc/archive/refs/tags/0.31.0.tar.gz"
11
- version "0.31.0"
12
- sha256 "d9238aae0d3911a3bc13c35a9351ba600ee4952f9cc36227242b5fa113ea4ebf"
10
+ url "https://github.com/objectionary/eoc/archive/refs/tags/0.32.0.tar.gz"
11
+ version "0.32.0"
12
+ sha256 "a24da178f48e1e64280aa467fd97986d9456a25ea023525bf36a9308ec1a4cea"
13
13
  license "MIT"
14
14
 
15
15
  depends_on "node"
package/README.md CHANGED
@@ -18,14 +18,14 @@ First, you install [npm][npm-install] and [Java SE][java-se].
18
18
  Then, you install [eolang][npm] package, using [npm][npm-install]:
19
19
 
20
20
  ```bash
21
- npm install -g eolang@0.31.0
21
+ npm install -g eolang@0.32.0
22
22
  ```
23
23
 
24
24
  You can also use [Homebrew] (on macOS):
25
25
 
26
26
  ```bash
27
27
  brew tap objectionary/eoc https://github.com/objectionary/eoc
28
- brew install objectionary/eoc/eolang
28
+ brew install objectionary/eoc/eolang@0.32.0
29
29
  ```
30
30
 
31
31
  Then, you write a simple [EO](https://www.eolang.org) program in `hello.eo` file
package/package.json CHANGED
@@ -57,5 +57,5 @@
57
57
  "postinstall": "node scripts/postinstall.js",
58
58
  "test": "mocha --timeout 1200000"
59
59
  },
60
- "version": "0.32.0"
60
+ "version": "0.32.1"
61
61
  }
@@ -16,17 +16,17 @@ module.exports = function(opts) {
16
16
  const home = path.resolve(opts.target);
17
17
  if (fs.existsSync(home)) {
18
18
  fs.rmSync(home, {recursive: true, force: true});
19
- console.info('The directory %s deleted', rel(home));
19
+ console.info('The directory %s was deleted', rel(home));
20
20
  } else {
21
- console.info('The directory %s doesn\'t exist, no need to delete', rel(home));
21
+ console.info('The directory %s does not exist, no need to delete it', rel(home));
22
22
  }
23
23
  if (opts.global) {
24
24
  const eo = path.join(os.homedir(), '.eo');
25
25
  if (fs.existsSync(eo)) {
26
26
  fs.rmSync(eo, {recursive: true});
27
- console.info('The directory %s deleted', eo);
27
+ console.info('The directory %s was deleted', eo);
28
28
  } else {
29
- console.info('The directory %s doesn\'t exist, no need to delete', eo);
29
+ console.info('The directory %s does not exist, no need to delete it', eo);
30
30
  }
31
31
  }
32
32
  };
@@ -46,7 +46,7 @@ module.exports = function(opts) {
46
46
  fs.writeFileSync(packages, '');
47
47
  const css = path.join(output, 'styles.css');
48
48
  fs.writeFileSync(css, '');
49
- console.info('Documentation generation completed in %s directory', output);
49
+ console.info('Documentation generation completed in the %s directory', output);
50
50
  } catch (error) {
51
51
  console.error('Error generating documentation:', error);
52
52
  throw error;
@@ -19,7 +19,7 @@ module.exports = function(opts) {
19
19
  * It is necessary to use 'elapsed' in all logging cases that require output of elapsed time
20
20
  */
21
21
  return mvnw(['test-compile'].concat(flags(opts)), opts.target, opts.batch).then((r) => {
22
- console.info('Java .class files compiled into %s', rel(target));
22
+ console.info('Java .class files compiled in %s', rel(target));
23
23
  return r;
24
24
  });
25
25
  };
@@ -22,10 +22,10 @@ module.exports = function(obj, args, opts) {
22
22
  obj,
23
23
  ...args,
24
24
  ].filter((i) => i);
25
- console.debug(`+ java ${ params.join(' ')}`);
25
+ console.debug(`+ java ${params.join(' ')}`);
26
26
  spawn('java', params, {stdio: 'inherit'}).on('close', (code) => {
27
27
  if (code !== 0) {
28
- console.error(`JVM failed with exit code #${code}`);
28
+ console.error(`JVM failed with exit code ${code}`);
29
29
  process.exit(1);
30
30
  }
31
31
  });
@@ -26,7 +26,7 @@ module.exports = function(opts) {
26
26
  opts.target, opts.batch
27
27
  ).then((r) => {
28
28
  console.info(
29
- 'EO .xmir files from %s assembled to .class to %s',
29
+ 'EO .xmir files from %s assembled to .class files in %s',
30
30
  rel(opts.xmirs), rel(opts.classes)
31
31
  );
32
32
  return r;
@@ -26,7 +26,7 @@ module.exports = function(opts) {
26
26
  opts.target, opts.batch
27
27
  ).then((r) => {
28
28
  console.info(
29
- 'Bytecode .class files from %s disassembled to .xmir to %s',
29
+ 'Bytecode .class files from %s disassembled to .xmir files in %s',
30
30
  rel(opts.classes), rel(opts.xmirs)
31
31
  );
32
32
  return r;
@@ -14,6 +14,6 @@ const path = require('path');
14
14
  */
15
15
  module.exports = async function(opts) {
16
16
  const r = await eo2jsw('transpile', { ...opts, alone: true, project: 'project' });
17
- console.info(`JS sources are generated in ${rel(path.resolve(opts.target, 'project'))}`);
17
+ console.info(`JS sources generated in ${rel(path.resolve(opts.target, 'project'))}`);
18
18
  return r;
19
19
  };
@@ -16,7 +16,7 @@ const fs = require('fs');
16
16
  module.exports = function(opts) {
17
17
  const latex = path.resolve(opts.target, 'latex');
18
18
  return mvnw(['eo:latex'].concat(flags(opts)), opts.target, opts.batch).then((r) => {
19
- console.info('LaTeX files generated into %s', rel(latex));
19
+ console.info('LaTeX files generated in %s', rel(latex));
20
20
  return r;
21
21
  });
22
22
  };
@@ -26,7 +26,7 @@ module.exports = function(opts) {
26
26
  return r;
27
27
  }).catch((error) => {
28
28
  throw new Error(
29
- 'There are error and/or warnings; you may disable warnings via the --easy option'
29
+ 'There are errors and/or warnings; you may disable warnings via the --easy option'
30
30
  );
31
31
  });
32
32
  }
@@ -16,7 +16,7 @@ module.exports = function(opts) {
16
16
  const input = path.resolve(opts.target, opts.printInput);
17
17
  console.debug('Reading from %s', rel(input));
18
18
  const output = path.resolve(opts.target, opts.printOutput);
19
- console.debug('Writing into %s', rel(output));
19
+ console.debug('Writing to %s', rel(output));
20
20
  return mvnw(
21
21
  ['eo:print']
22
22
  .concat(flags(opts))
@@ -28,7 +28,7 @@ module.exports = function(opts) {
28
28
  ),
29
29
  opts.target, opts.batch
30
30
  ).then((r) => {
31
- console.info('XMIR files converted into EO files at %s', rel(output));
31
+ console.info('XMIR files converted to EO files at %s', rel(output));
32
32
  return r;
33
33
  });
34
34
  };
@@ -14,9 +14,9 @@ const {mvnw, flags} = require('../mvnw');
14
14
  */
15
15
  module.exports = function(opts) {
16
16
  const argv = ['eo:sodg'].concat(flags(opts));
17
- argv.push(`-Deo.sodgIncludes=${ opts.include}`);
17
+ argv.push(`-Deo.sodgIncludes=${opts.include}`);
18
18
  if (opts.exclude) {
19
- argv.push(`-Deo.sodgExcludes=${ opts.exclude}`);
19
+ argv.push(`-Deo.sodgExcludes=${opts.exclude}`);
20
20
  }
21
21
  if (opts.xml) {
22
22
  argv.push('-Deo.generateSodgXmlFiles');
package/src/version.js CHANGED
@@ -6,6 +6,6 @@
6
6
  // The values here are replaced automatically by the .rultor.yml script,
7
7
  // at the "release" pipeline:
8
8
  module.exports = {
9
- what: '0.32.0',
10
- when: '2025-08-21'
9
+ what: '0.32.1',
10
+ when: '2025-09-01'
11
11
  };