Skip to content

Commit 25bc4c5

Browse files
committed
docs: update changelog
1 parent 4d04193 commit 25bc4c5

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
# v0.1.3
2+
3+
## Macros (Experimental)
4+
5+
As you might (not) have noticed, *wenyan-lang* strives to be more readable (for ancient Chinese people). **Macros** provide syntactic sugars to bring the 文采 of your code to the next level.
6+
7+
E.g. Now you can patch wenyan-lang's notorius print function like so:
8+
9+
```
10+
或云「「書「甲」焉」」。
11+
蓋謂「「吾有一言。曰「甲」。書之」」。
12+
13+
書「「問天地好在」」焉。
14+
```
15+
16+
Since we're beating JavaScript to macros, here is a rough C equivalence:
17+
18+
```
19+
#define 書(甲)焉 吾有一言。曰甲。書之
20+
書("問天地好在")焉。
21+
```
22+
23+
See [**Full Documation**](https://github.com/LingDong-/wenyan-lang/blob/master/documentation/Macros.md), #440 for more details.
24+
25+
### Standard Library
26+
A new standard library `畫譜` that manipulates canvas on web pages. Check out the demo on Online IDE!
27+
28+
### Browser Runtime
29+
New package [`@wenyanlang/runtime`](https://github.com/LingDong-/wenyan-lang/blob/master/documentation/Runtime.md) allowing you to run Wenyan direct in `<script>` tag of html! (PR #433, thanks @antfu)
30+
31+
### Docs
32+
- [**Standard library document**](https://github.com/LingDong-/wenyan-lang/blob/master/documentation/Standard-Lib.md) added. (PR #432, thanks @antfu @statementreply)
33+
34+
### Examples
35+
- New example 劉徽割圓術 (PR #431, thanks @cuixiping)
36+
37+
### Testing
38+
- More testing cases for hanzi2num added (PR #442, thanks @kaiyuan01)
39+
40+
141
# v0.1.2
242

343
## Overhauled `hanzi2num` (PR #413, thanks [@statementreply](https://github.com/statementreply))

0 commit comments

Comments
 (0)