eolang 0.32.0 → 0.33.0

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.1.tar.gz"
11
+ version "0.32.1"
12
+ sha256 "6770b4eb3068b5675e2f8c1cce580693f2ad844c6f9472fd2e236f81ba356ab2"
13
13
  license "MIT"
14
14
 
15
15
  depends_on "node"
@@ -0,0 +1,25 @@
1
+ #
2
+ # SPDX-FileCopyrightText: Copyright (c) 2022-2025 Objectionary.com
3
+ # SPDX-License-Identifier: MIT
4
+ #
5
+
6
+ require "language/node"
7
+ class Eolang < Formula
8
+ desc "Command-line Tool-Kit"
9
+ homepage "https://github.com/objectionary/eoc"
10
+ url "https://github.com/objectionary/eoc/archive/refs/tags/0.32.1.tar.gz"
11
+ version "0.32.0"
12
+ sha256 "6770b4eb3068b5675e2f8c1cce580693f2ad844c6f9472fd2e236f81ba356ab2"
13
+ license "MIT"
14
+
15
+ depends_on "node"
16
+
17
+ def install
18
+ system "npm", "install", *std_npm_args
19
+ bin.install_symlink Dir["#{libexec}/bin/*"]
20
+ end
21
+
22
+ test do
23
+ system "#{bin}/eoc", "--version"
24
+ end
25
+ end
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.1
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.1
29
29
  ```
30
30
 
31
31
  Then, you write a simple [EO](https://www.eolang.org) program in `hello.eo` file
package/eo-version.txt CHANGED
@@ -1 +1 @@
1
- 0.58.2
1
+ 0.58.6
package/home-tag.txt CHANGED
@@ -1 +1 @@
1
- 0.58.1
1
+ 0.58.6
@@ -75,11 +75,11 @@
75
75
  </plugin>
76
76
  <plugin>
77
77
  <artifactId>maven-shade-plugin</artifactId>
78
- <version>3.6.0</version>
78
+ <version>3.6.1</version>
79
79
  </plugin>
80
80
  <plugin>
81
81
  <artifactId>maven-surefire-plugin</artifactId>
82
- <version>3.5.3</version>
82
+ <version>3.5.4</version>
83
83
  <configuration>
84
84
  <failIfNoTests>true</failIfNoTests>
85
85
  <useFile>false</useFile>
@@ -121,6 +121,6 @@
121
121
  <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
122
122
  <heap-size>undefined</heap-size>
123
123
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
124
- <jeo.version>0.13.7</jeo.version>
124
+ <jeo.version>0.14.0</jeo.version>
125
125
  </properties>
126
126
  </project>
package/mvnw/pom.xml CHANGED
@@ -10,7 +10,7 @@
10
10
  <version>0.0.0</version>
11
11
  <packaging>jar</packaging>
12
12
  <properties>
13
- <jeo.version>0.13.7</jeo.version>
13
+ <jeo.version>0.14.0</jeo.version>
14
14
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
15
  <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
16
16
  <eo.version>undefined</eo.version>
@@ -107,11 +107,11 @@
107
107
  </plugin>
108
108
  <plugin>
109
109
  <artifactId>maven-shade-plugin</artifactId>
110
- <version>3.6.0</version>
110
+ <version>3.6.1</version>
111
111
  </plugin>
112
112
  <plugin>
113
113
  <artifactId>maven-surefire-plugin</artifactId>
114
- <version>3.5.3</version>
114
+ <version>3.5.4</version>
115
115
  <configuration>
116
116
  <failIfNoTests>true</failIfNoTests>
117
117
  <useFile>false</useFile>
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "grunt-contrib-clean": "^2.0.1",
27
27
  "grunt-eslint": "^25.0.0",
28
28
  "grunt-mocha-cli": "^7.0.0",
29
- "mocha": "^11.7.1",
29
+ "mocha": "^11.7.2",
30
30
  "patch-package": "^8.0.0"
31
31
  },
32
32
  "engines": {
@@ -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.33.0"
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
  };
@@ -16,6 +16,7 @@ const semver = require('semver');
16
16
  module.exports = function(opts) {
17
17
  const extra = [
18
18
  `-Deo.failOnWarning=${opts.easy ? 'false' : 'true'}`,
19
+ `-Deo.skipLinting=${opts.blind ? 'true' : 'false'}`,
19
20
  ];
20
21
  if (opts.parser.endsWith('-SNAPSHOT') || semver.gte(opts.parser, '0.45.0')) {
21
22
  return mvnw(
@@ -26,7 +27,7 @@ module.exports = function(opts) {
26
27
  return r;
27
28
  }).catch((error) => {
28
29
  throw new Error(
29
- 'There are error and/or warnings; you may disable warnings via the --easy option'
30
+ 'There are errors and/or warnings; you may disable warnings via the --easy option'
30
31
  );
31
32
  });
32
33
  }
@@ -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/eoc.js CHANGED
@@ -94,6 +94,7 @@ program
94
94
  .option('-s, --sources <path>', 'Directory with .EO sources', '.')
95
95
  .option('-t, --target <path>', 'Directory with all generated files', '.eoc')
96
96
  .option('--easy', 'Ignore "warnings" and only fail if there are "errors" or "criticals"')
97
+ .option('--blind', 'Ignore "warnings," "errors," and "criticals"')
97
98
  .option('--home-tag <version>', 'Git tag in objectionary/home to compile against', tag)
98
99
  .option('--parser <version>', 'Set the version of EO parser to use', parser)
99
100
  .option('--latest', 'Use the latest parser version from Maven Central')
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.33.0',
10
+ when: '2025-09-16'
11
11
  };