Skip to content

Commit 25a35bd

Browse files
author
Lingdong Huang
committed
2 parents 27fed03 + d81d713 commit 25a35bd

File tree

3 files changed

+41
-2
lines changed

3 files changed

+41
-2
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
# v0.2.1
2+
3+
## Static Type Inference
4+
5+
When the option is turned on, the compiler will now raise exceptions if your code does not typecheck. Also it is capable of producing type signatures for inspection, e.g. ./example/quicksort.wy produces the following:
6+
7+
```
8+
[0-347] {
9+
快排 : (('a) arr) -> (('a) arr)
10+
己 : (num) arr
11+
[33-285] {
12+
首 : ('a) arr
13+
頷 : ('a) arr
14+
尾 : ('a) arr
15+
甲一 : 'a
16+
甲餘 : ('a) arr
17+
乙 : ('a) arr
18+
[136-201] {
19+
丁 : 'a
20+
}
21+
}
22+
}
23+
```
24+
25+
For more detail, please refer to #486
26+
27+
### Standard Library
28+
29+
- Fundamental Calendar library (PR #466, thanks @statementreply), check out [Standard Library cheatsheet](https://github.com/LingDong-/wenyan-lang/blob/master/documentation/Standard-Lib.md) for more details.
30+
31+
### 3rd Party Compilers
32+
33+
- [JVM compiler](https://github.com/MagicLu550/wenyan-lang_jvm) by [MagicLu550](https://github.com/MagicLu550)
34+
35+
### Fixes
36+
37+
- Stdlib was not bundled correctly. (PR #481, thanks @antfu)
38+
39+
140
# v0.2.0
241

342
## ⚠ BREAKING CHANGE: `compile` API change

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wenyanlang",
33
"description": "文言 A programming language for the ancient Chinese",
4-
"version": "0.2.0",
4+
"version": "0.2.1",
55
"author": "LingDong <[email protected]>",
66
"private": true,
77
"repository": {

0 commit comments

Comments
 (0)