프로젝트
GitHub에서 보기
antfu/wenyan-lang-vscode
소개
文言 Wenyan Lang for VS Code
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
for 文言 Wenyan Lang, a programming language for the ancient Chinese.

Compile & Execute
View the compiled Javascript side by side or Direct execute it.
The compiler is shipped with this extension, no installation required.

Punctuations Replacement
Punctuations will be automatically replaced to fit the language.

You will get the result immediately, the delay is added for demostraction purpose
Snippets
You can write Wenyan quickly by using snippets:

Here are some common snippets. For full list, check out this file.
| Triggers | Snippet |
|---|---|
if |
若⋯者。⋯也。 |
else |
若非。⋯也。 |
for |
為是⋯遍。⋯云云。 |
break |
乃止。 |
while |
恆為是。⋯云云。 |
function |
吾有一術。名之曰「⋯」。是術曰。 |
int |
吾有一數。曰⋯。名之曰「⋯」。 |
str |
吾有一言。曰「「⋯」」。名之曰「⋯」。 |
bool |
吾有一爻。曰陰。名之曰「⋯」。 |
array |
吾有一列。名之曰「⋯」。 |
object |
吾有一物。名之曰「⋯」。 |
Wenyanizer by @zxch3n
From v0.10.0, we shipped support for compiling Javascript back to Wenyan. Thanks for @zxch3n's great work!

Configurations
| Fields | Default | Note |
|---|---|---|
wenyan-lang.executablePath |
built-in | Filepath to executable wenyan.js |
wenyan-lang.targetLanguage |
javascript |
Target language that compiles to. Can be javascript, python or ruby |
wenyan-lang.runOnSave |
true | Execute the code on save |
wenyan-lang.romanizeMethod |
null | Romanize identifiers. The method can be pinyin, baxter or unicode |
ToDo
- Syntax Highlight
- Snippets
- Dynamic Snippets
- Execute
- Compile
- Compile to Python
- Rendering
- Code Completion
- Language Server
License
MIT License © 2019-2020 Anthony Fu
관련 프로젝트 살펴보기
불러오는 중…