from Hacker News

Wenyan‑Lang (文言): Programming Language for the Ancient Chinese

by izhak on 3/30/21, 4:10 AM with 2 comments

  • by peter_d_sherman on 3/30/21, 4:33 AM

    https://wy-lang.org/spec.html

    >"INT_NUM_KEYWORDS : '零'|'一'|'二'|'三'|'四'|'五'|'六'|'七'|'八'|'九'|'十'|'百'|'千'|'萬'|'億'|'兆'|'京'|'垓'|'秭'|'穣'|'溝'|'澗'|'正'|'載'|'極' ;"

    PDS: Weird and interesting! (In a good way!)

    I've never seen a programming language with single-unicode-glyph keywords before! (But then again, I don't get around that much, so maybe they've been around for awhile...)

    You know (speculating here)... I wonder if there will be future programming languages where common language constructs such as for..next loops -- will be represented by single Unicode glyphs...

    In Math, we have the Sigma symbol for repeated addition, and the Pi symbol for repeated multiplication ("Sigma notation", "Pi notation"), which are single characters...

    So, maybe Mathematica (and Math-based programming languages) already did something like that in the late 1980's...

    I wonder what else could be represented by Unicode glyphs in programming languages...