eolang 0.8.3 → 0.8.4
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/README.md +1 -0
- package/mvnw/pom.xml +1 -1
- package/package.json +3 -3
- package/renovate.json +2 -1
- package/src/commands/compile.js +2 -0
- package/src/commands/link.js +2 -0
- package/src/version.js +1 -1
package/README.md
CHANGED
|
@@ -52,6 +52,7 @@ There are also commands that help manipulate with XMIR and EO sources (some of t
|
|
|
52
52
|
|
|
53
53
|
* `audit` inspects all required packages and reports their status
|
|
54
54
|
* `foreign` inspects all objects found in the program after `assemble` step
|
|
55
|
+
* `gmi` generates GMI from XMIR, further rederable as XML or [Dot](https://en.wikipedia.org/wiki/DOT_%28graph_description_language%29)
|
|
55
56
|
* <del>`translate` converts Java/C++/Python/etc. program to EO program</del>
|
|
56
57
|
* <del>`demu` removes `cage` and `memory` objects</del>
|
|
57
58
|
* <del>`dejump` removes `goto` objects</del>
|
package/mvnw/pom.xml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eolang",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"author": "Yegor Bugayenko <yegor256@gmail.com> (https://www.yegor256.com/)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "objectionary/eoc",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"colors": "1.4.0",
|
|
25
25
|
"commander": "9.4.0",
|
|
26
|
-
"fast-xml-parser": "4.0.
|
|
26
|
+
"fast-xml-parser": "4.0.10",
|
|
27
27
|
"xmlhttprequest": "1.8.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"eslint": "
|
|
30
|
+
"eslint": "8.23.1",
|
|
31
31
|
"eslint-config-google": "0.14.0",
|
|
32
32
|
"grunt": "1.5.3",
|
|
33
33
|
"grunt-contrib-clean": "2.0.1",
|
package/renovate.json
CHANGED
package/src/commands/compile.js
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
const mvnwSync = require('../mvnw');
|
|
26
26
|
const path = require('path');
|
|
27
|
+
const parserVersion = require('../parser-version');
|
|
27
28
|
|
|
28
29
|
/**
|
|
29
30
|
* Command to compile target language into binaries.
|
|
@@ -38,6 +39,7 @@ module.exports = function(opts) {
|
|
|
38
39
|
`-Dmaven.compiler.target=1.8`,
|
|
39
40
|
`-Deo.targetDir=${target}`,
|
|
40
41
|
`-Deo.generatedDir=${path.resolve(opts.target, 'generated-sources')}`,
|
|
42
|
+
'-Deo.version=' + (opts.parser ? opts.parser : parserVersion()),
|
|
41
43
|
]);
|
|
42
44
|
console.info('Java .class files compiled into %s', target);
|
|
43
45
|
};
|
package/src/commands/link.js
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
const mvnwSync = require('../mvnw');
|
|
26
26
|
const path = require('path');
|
|
27
|
+
const parserVersion = require('../parser-version');
|
|
27
28
|
|
|
28
29
|
/**
|
|
29
30
|
* Command to link binaries into a single executable binary.
|
|
@@ -34,6 +35,7 @@ module.exports = function(opts) {
|
|
|
34
35
|
'jar:jar',
|
|
35
36
|
opts.verbose ? '' : '--quiet',
|
|
36
37
|
`-Deo.targetDir=${path.resolve(opts.target)}`,
|
|
38
|
+
'-Deo.version=' + (opts.parser ? opts.parser : parserVersion()),
|
|
37
39
|
]);
|
|
38
40
|
console.info('Executable JAR created at %s', path.resolve(opts.target, 'eoc.jar'));
|
|
39
41
|
};
|
package/src/version.js
CHANGED