purus 0.6.0 → 0.7.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/README-ja.md +1 -1
- package/bin/purus.js +2 -2
- package/lib/purus-compiler.js +954 -626
- package/package.json +3 -3
package/README-ja.md
CHANGED
package/bin/purus.js
CHANGED
|
@@ -5,7 +5,7 @@ const VERSION = require("../package.json").version;
|
|
|
5
5
|
const cmd = process.argv[2];
|
|
6
6
|
|
|
7
7
|
function printHelp() {
|
|
8
|
-
console.log(`
|
|
8
|
+
console.log(`Purus v${VERSION} - A language that compiles to JavaScript`);
|
|
9
9
|
console.log("");
|
|
10
10
|
console.log("Usage:");
|
|
11
11
|
console.log(" purus build [file|dir] Compile to JavaScript");
|
|
@@ -47,7 +47,7 @@ switch (cmd) {
|
|
|
47
47
|
case "version":
|
|
48
48
|
case "--version":
|
|
49
49
|
case "-v":
|
|
50
|
-
console.log(`
|
|
50
|
+
console.log(`Purus v${VERSION}`);
|
|
51
51
|
break;
|
|
52
52
|
case "help":
|
|
53
53
|
case "--help":
|