Skip to content

Commit 1a77a73

Browse files
LingDong-Lingdong Huang
authored andcommitted
add jvm compiler to README
1 parent 7d49fa3 commit 1a77a73

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ wenyan examples/helloworld.wy
9292

9393
You can now translate JavaScript to wenyan-lang using the [wenyanizer](https://github.com/zxch3n/wenyanizer) by [zxch3n](https://github.com/zxch3n).
9494

95+
### 3rd Party Compilers
96+
97+
- [JVM compiler](https://github.com/MagicLu550/wenyan-lang_jvm) by [MagicLu550](https://github.com/MagicLu550)
98+
9599
### Text Editor Plugins
96100

97101
- [Plugin for VSCode](https://github.com/antfu/wenyan-lang-vscode) by [antfu](https://github.com/antfu)
@@ -261,3 +265,5 @@ If you could help implement a feature with a `√` under `help needed`, please f
261265
|---|---|---|---|
262266
|[hanzi2num conversion error](https://github.com/LingDong-/wenyan-lang/issues/114)| ***** | | |
263267
|[hanzi2num multi-character numbers not included](https://github.com/LingDong-/wenyan-lang/issues/130) | *** | | |
268+
269+

src/typecheck.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,5 +661,6 @@ function typecheck(
661661
// process.exit()
662662
return signature;
663663
}
664-
665-
module.exports = { typecheck, printType, printSignature };
664+
try {
665+
module.exports = { typecheck, printType, printSignature };
666+
} catch (e) {}

0 commit comments

Comments
 (0)