wy-lang.org/

Someone beat me to it! This is a programming language for 文言, literary Chinese. (Lit Chinese is really only a fork of classical which is somewhat backwards compatible with Classical Chinese, but whatever.) I am going to nag the author Anthony Fu to make this more Lispian and add staff and Suzhou numbers.

Understand... This is not a just novelty, this is EASY TO READ for us wacky literati types! And more bit frugal. This is wonderful!

Dear @lisp
Someone made a nice programming language using literary Chinese. I was hoping to someday make a Scheme which does this. Please tell me:
甲. Can this easily be made more Lispian easily and how would I do so?
乙. I wanted such a language to use the old staff numbers (stick calculation in squares, came before abacus, now in Unicode) and “Suzhou” numerals in an organic way. Any thoughts how to do that?
丙. It looks weird to read left to right and is ugly. How to make text TtB,RtL?

Show thread

@lisp the dev are calling the literary Chinese language for 文言程序言, I reckon. It looks too JS like? I should rather it use 【】《》•。、 or such marks, the latter of which are backwards compatible to literary and classical text.

wy-lang.org/

So nifty doodle!

Show thread

Why it is important to have a Chinese based programming language:

Many years ago, I realized that the spare grammar and formalism in Literary Chinese would be well adaptable to programming. Moreover, in some ways poetic forms have algorithmic dimensions. There is a wealth of possibility for novel concepts to be developed using traditional Chinese maths, too. makes programming more accessible for people who read ZH-Lit. And there are heaps!

Show thread
Follow

The grammar in could be tightened up a bit. (Define) could be set with 也 instead of 曰 to make it more terse and less abstract in tone. But it’s remarkably readable. Have to read up on how he is using 云 and such, though.

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko