This release contains bugfixes only. No new features or breaking changes.
Unclaimed project
Are you a maintainer of wenyan? Claim this project to take control of your public changelog and roadmap.
Changelog
文言文編程語言 A programming language for the ancient Chinese.
Last updated over 2 years ago
This release contains bugfixes only. No new features or breaking changes.
Move to the new npm org @wenyan. Thanks for the donation!
Now you can use:
npm i -g @wenyan/cli
compile API changeAs we mentioned in the v0.2.0 release, the support of using lang as the first argument of compile is now REMOVED. Please use the new API instead.
// before
compile('js', source, { ... })
// after
compile(source, { lang: 'js', ... })
Thanks to everyone who contributed their ideas, a selection of proposed new syntaxes are now added
| js/c++ | wenyan | issue |
|-|-|-|
| continue | 乃止是遍 | #392 |
| else if | 或若 | #365 |
| if (ans) { | 若其然者 | #513 |
| if (!ans) { | 若其不然者 | ditto |
| auto | 元 | #486 |
| require('path/to/something') | `吾嘗觀「「某樓」」中「「某閣」」中「...
Think 序.wy the Wenyan version of index.js.
For example, the reader now will search for a module 四庫全書 for a given path /tmp/examples
/tmp/examples/四庫全書.wy/tmp/examples/四庫全書/序.wyThe first match will be imported. Refer to #512 for more details.
Think 藏書樓 the Wenyan version of node_modules.
藏書樓 will be included as importPaths by CLI automa...
We are now using Netlify to build our website & IDE. The legacy links will redirect to http://wy-lang.org automatically.
importPaths for specifying the import searching directories, (PR #499, by @antfu)allowHttp for allowing import scripts from t...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:
[0-347] {
快排 : (('a) arr) -> (('a) arr)
己 : (num) arr
[33-285] {
首 : ('a) arr
頷 : ('a) arr
尾 : ('a) arr
甲一 : 'a...
compile API changeThe first argument lang move to option, please switch to new API.
//before
compile('js', source, { ... })
// after
compile(source, { lang: 'js', ... })
The old API is still functional for temporary backward compatible, the support will be REMOVED in the next minor update.
Please do check it out...
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.