文史上最骚的编程语言来了!大四学生发明言文编程语言!秀的我头皮发麻

<section data-role="outer" label="Powered by 135editor.com" style="font-size:16px;"><section class="xmteditor" style="display: none;" data-tools="新媒体管家" data-label="powered by xmt.cn">
</section><section class="mpa-template" data-mpa-powered-by="yiban.io" style="white-space: normal;max-width: 100%;font-size: 16px;overflow-wrap: break-word !important;box-sizing: border-box !important;"><p data-mpa-powered-by="yiban.io" style="text-align:center; white-space: normal; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: rgb(255, 255, 255); font-size: 16px; box-sizing: border-box !important; overflow-wrap: break-word !important;" align="center"><span style="font-size: 14px;"><strong style=""><span style="max-width: 100%; letter-spacing: 0.544px; word-spacing: 2px; caret-color: #333333; box-sizing: border-box !important; overflow-wrap: break-word !important;"><span style="color:#888888">关注公众号</span></span><span style="color: #333333; max-width: 100%; letter-spacing: 0.544px; word-spacing: 2px; caret-color: #333333; box-sizing: border-box !important; overflow-wrap: break-word !important;">“<strong style="color: rgb(62, 62, 62);letter-spacing: 0.544px;"><span style="max-width: 100%;letter-spacing: 0.544px;color: #0052FF;box-sizing: border-box !important;overflow-wrap: break-word !important;">程序员</span></strong></span><span style="color: #0052FF; max-width: 100%; letter-spacing: 0.544px; word-spacing: 2px; caret-color: #333333; box-sizing: border-box !important; overflow-wrap: break-word !important;">黄小斜</span><span style="color: #333333; max-width: 100%; letter-spacing: 0.544px; word-spacing: 2px; caret-color: #333333; box-sizing: border-box !important; overflow-wrap: break-word !important;">”,</span><span style="color: #888888; max-width: 100%; letter-spacing: 0.544px; word-spacing: 2px; caret-color: #333333; box-sizing: border-box !important; overflow-wrap: break-word !important;">选择“置顶或者星标”</span></strong></span></p><p style="text-align:center;margin: 5px 16px 10px;white-space: normal;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);caret-color: rgb(51, 51, 51);text-size-adjust: auto;line-height: normal;box-sizing: border-box !important;overflow-wrap: break-word !important;" align="center"><span style="font-size: 14px;"><strong><span style="max-width: 100%;color: #7F7F7F;letter-spacing: 0.544px;box-sizing: border-box !important;overflow-wrap: break-word !important;">一起成为更好的自己!</span></strong></span></p><article class="yead_editor" style="margin: 5px auto;padding: 5px;max-width: 100%;color: rgb(0, 0, 0);overflow-wrap: break-word !important;box-sizing: border-box !important;"><img class="rich_pages" data-ratio="0.4255555555555556" data-s="300,640" src="https://mmbiz.qpic.cn/mmbiz_jpg/hbTNOSuicwlsia51QZVnuObllmq8GkxMPfUh5Ribdw7uPuLlLvHwVYa19RsSeM8znzJ9eRia2Lzy6C58EBMboBc2Yg/640?wx_fmt=jpeg" data-type="jpeg" data-w="900" style="text-align: center;"></article></section><p style="text-align:left;max-width: 100%;min-height: 1em;box-sizing: border-box !important;word-wrap: break-word !important;word-break: normal !important;" align="left">
</p><p style="text-align:left;max-width: 100%;min-height: 1em;box-sizing: border-box !important;word-wrap: break-word !important;word-break: normal !important;" align="left"><span style="color: rgb(51, 51, 51); font-size: 15px; font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;">这两天刷微博、朋友圈、公众号,发现大家都被一个文言文编程的项目圈粉了。</span>
</p><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><img class="rich_pages js_insertlocalimg" data-ratio="0.6583333333333333" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvUpP7M273625t2aA7dpXdicd0WHd6zIc1dOZ4BjcgaiauAUZFvzqp7p9EA/640?wx_fmt=jpeg" data-type="jpeg" data-w="1080" style=""></section><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">就连中科院计算所研究员、机器翻译领域知名专家刘群老师都赞叹道:</span><span style="font-size: 15px;">后生可畏</span>
</section><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><img class="rich_pages" data-ratio="0.683944374209861" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvU0z1zR0qCFxwEjic2VzGA1vNgbXlpqrKNKAbXX7W5Q5l706ssl15osYA/640?wx_fmt=png" data-type="png" data-w="791" style="width:95%;height:auto;"></section><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">到底是什么神仙项目,竟然获得如此高的评价?</span><span style="font-size: 15px;">原来,这是一位卡内基梅隆大学(CMU)的大四学生开发的基于文言文的编程语言。</span></section><p style="text-align:center;" align="center">
</p><p style="text-align:center;" align="center"><img class="rich_pages js_insertlocalimg" data-ratio="0.23035714285714284" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvUOMl4vj6oJ3kZw5u3MQwvpWDnLE8dsm9Oe9Ccmq0vGDn2CTXcTes4AA/640?wx_fmt=png" data-type="png" data-w="1120" style=""></p><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">这个项目叫做Lingdong,可编译成Javascript,也可编译成Python,而且还有线上编辑器可直接运行。如今已经在Github上标星</span><span style="font-size: 15px;color: #AB1942;"><strong>7K</strong></span><span style="font-size: 15px;">,</span><span style="font-size: 15px;color: #AB1942;"><strong>324</strong></span><span style="font-size: 15px;">个Fork(Github地址:</span><span style="color: #78ACFE;text-decoration: underline;font-size: 14px;">https://github.com/LingDong-/</span><span style="font-size: 15px;">)</span></section><p style="text-align:center;" align="center">
</p><p style="text-align:center;" align="center"><img class="rich_pages" data-ratio="0.35258152173913043" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvU7qyKZRC15ltjnzvCfEe4HEpPiaEBztx7WVUJlKOHyZaXW2S1DJWmPyQ/640?wx_fmt=png" data-type="png" data-w="1472" style="width:95%;height:auto;"></p><section>
</section><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">而且发文前,<span style="font-size: 15px;text-align: left;">Lingdong</span>妥妥霸榜GitHub Trending日榜第一,单日斩获4000+Star!下面还是来看看<span style="font-size: 15px;text-align: left;">Lingdong</span>怎么用吧。</span></section><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">假如你想知道文言文是如何输出“Hello World”?</span><span style="font-size: 15px;">,你会发现原来是这样的:</span></section><p>
</p><pre style="box-sizing: border-box;font-size: 16px;color: rgb(62, 62, 62);line-height: inherit;text-align: start;background-color: rgb(255, 255, 255);"><section style="box-sizing: border-box; margin-right: 2px; margin-left: 2px; padding: 0.5em; font-size: 12px; color: rgb(169, 183, 198); border-radius: 0px; background: rgb(40, 43, 46); display: block; overflow-x: auto; letter-spacing: 0px; text-align: left; line-height: 1.75em; overflow-wrap: normal !important; word-break: normal !important; overflow-y: auto !important; font-family: Consolas, Inconsolata, Courier, monospace;"><span style="font-size: 13px;">吾有一數。</span><span style="font-size: 13px;">曰三。</span><span style="font-size: 13px;">名之曰「甲」。</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">為是「甲」遍。</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    吾有一言。</span><span style="font-size: 13px;">曰「「問天地好在。</span><span style="font-size: 13px;">」」。</span><span style="font-size: 13px;">書之。</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">云云。</span><span style="font-size: 15px;"></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"></section></pre><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">编译成JavaScript是这样的:</span>
</section><p>
</p><pre style="box-sizing: border-box;font-size: 16px;color: rgb(62, 62, 62);line-height: inherit;text-align: start;background-color: rgb(255, 255, 255);"><section style="box-sizing: border-box; margin-right: 2px; margin-left: 2px; padding: 0.5em; font-size: 12px; color: rgb(169, 183, 198); border-radius: 0px; background: rgb(40, 43, 46); display: block; overflow-x: auto; letter-spacing: 0px; text-align: left; line-height: 1.75em; overflow-wrap: normal !important; word-break: normal !important; overflow-y: auto !important; font-family: Consolas, Inconsolata, Courier, monospace;"><span style="font-size: 13px;"><span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> n = <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">3</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;"><span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">for</span> (<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> i = <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">0</span>; i < n; i++) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">console</span>.log(<span class="hljs-string" style="box-sizing: border-box;color: #EEDC70;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">"問天地好在。"</span>);</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">}</span><span style="font-size: 15px;"></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"></section></pre><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">输出是这样的</span></section><p>
</p><pre style="box-sizing: border-box;font-size: 16px;color: rgb(62, 62, 62);line-height: inherit;text-align: start;background-color: rgb(255, 255, 255);"><section style="box-sizing: border-box; margin-right: 2px; margin-left: 2px; padding: 0.5em; font-size: 12px; color: rgb(169, 183, 198); border-radius: 0px; background: rgb(40, 43, 46); display: block; overflow-x: auto; letter-spacing: 0px; text-align: left; line-height: 1.75em; overflow-wrap: normal !important; word-break: normal !important; overflow-y: auto !important; font-family: Consolas, Inconsolata, Courier, monospace;"><span style="font-size: 13px;">問天地好在。</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">問天地好在。</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">問天地好在。</span><span style="font-size: 15px;"></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"></section></pre><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">再比如,我们大学时候的编程,总会有一道求100以内素数的练习题,放到文言文里会是怎样的呢?这时候,</span><span style="font-size: 15px;">你就要用到一个名为“埃氏筛”的算法,完整文言文如下:</span></section><p style="text-align:center;" align="center">
</p><section style="text-align: center;line-height: 1.75em;"><img class="rich_pages js_insertlocalimg" data-ratio="0.7542372881355932" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvU32tk0wYOraBSeNzGzu4CEoK1o4kEVuAXYTic5WGTL8Z2CdoEGiaiarGyQ/640?wx_fmt=png" data-type="png" data-w="708" style="width:90%;height:auto;"></section><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">编译成JavaScript就是如下这样:</span></section><p>
</p><section style="text-align: left;line-height: 1.75em;">
</section><pre style="box-sizing: border-box;font-size: 16px;color: rgb(62, 62, 62);line-height: inherit;text-align: start;background-color: rgb(255, 255, 255);"><section style="box-sizing: border-box; margin-right: 2px; margin-left: 2px; padding: 0.5em; font-size: 12px; color: rgb(169, 183, 198); border-radius: 0px; background: rgb(40, 43, 46); display: block; overflow-x: auto; letter-spacing: 0px; text-align: left; line-height: 1.75em; overflow-wrap: normal !important; word-break: normal !important; overflow-y: auto !important; font-family: Consolas, Inconsolata, Courier, monospace;"><span style="font-size: 13px;"><span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> 埃氏篩 = <span class="hljs-function" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span class="hljs-params" style="word-wrap: inherit !important;word-break: inherit !important;">()</span> =></span> <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">0</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">埃氏篩 = <span class="hljs-function" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span class="hljs-keyword" style="word-break: inherit !important;">function</span>(<span class="hljs-params" style="word-wrap: inherit !important;word-break: inherit !important;">甲</span>) </span>{</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> 掩 = [];</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">for</span> (<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> _rand1 = <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">0</span>; _rand1 < 甲; _rand1++) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        掩.push(<span class="hljs-literal" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">true</span>);</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    };</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> _ans1 = 甲 / <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">2</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> 甲半 = _ans1;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> 戊 = <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">2</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">while</span> (<span class="hljs-literal" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">true</span>) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">if</span> (戊 == 甲半) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">break</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        };</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> 戌 = <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">2</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">while</span> (<span class="hljs-literal" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">true</span>) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">if</span> (戌 == 甲半) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">                <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">break</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            };</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> _ans2 = 戊 * 戌;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> 合 = _ans2;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">if</span> (合 <= 甲) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">                掩[合 - <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">1</span>] = <span class="hljs-literal" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">false</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            } <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">else</span> {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">                <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">break</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            };</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> _ans3 = <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">1</span> + 戌;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            戌 = _ans3;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        };</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> _ans4 = <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">1</span> + 戊;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        戊 = _ans4;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    };</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> 諸素 = [];</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> 戊 = <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">2</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">while</span> (<span class="hljs-literal" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">true</span>) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">if</span> (戊 == 掩.length) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">break</span>;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        };</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> _ans5 = 掩[戊 - <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">1</span>];</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> 素耶 = _ans5;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">if</span> (素耶) {</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">            諸素.push(戊);</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        };</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> _ans6 = <span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">1</span> + 戊;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">        戊 = _ans6;</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    };</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">    <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">return</span> 諸素</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;">};</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;"><span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">var</span> _ans7 = 埃氏篩(<span class="hljs-number" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">100</span>);</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 13px;"><span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">console</span>.log(_ans7);</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"></section></pre><p>
</p><section style="text-align: left;line-height: 1.75em;">
</section><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">最后,我们来看看运行结果:</span></section><p>
</p><section style="text-align: left;line-height: 1.75em;">
</section><pre style="box-sizing: border-box;font-size: 16px;color: rgb(62, 62, 62);line-height: inherit;text-align: start;background-color: rgb(255, 255, 255);"><section style="box-sizing: border-box; margin-right: 2px; margin-left: 2px; padding: 0.5em; font-size: 12px; color: rgb(169, 183, 198); border-radius: 0px; background: rgb(40, 43, 46); display: block; overflow-x: auto; letter-spacing: 0px; text-align: left; line-height: 1.75em; overflow-wrap: normal !important; word-break: normal !important; overflow-y: auto !important; font-family: Consolas, Inconsolata, Courier, monospace;"><span style="font-size: 14px;">2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"></section></pre><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">猿妹找不到文言文来夸它,那就只能说出一个字:</span><span style="font-size: 15px;">牛!</span><span style="font-size: 15px;">!</span><span style="font-size: 15px;">!</span></section><p style="text-align:center;" align="center">
</p><section style="text-align: center;line-height: 1.75em;"><img class="rich_pages js_insertlocalimg" data-ratio="0.8" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvUS7GCIu9mhicoXAHTQuIW56ge5WcrNkEySEhXVBoH12ichuUApZoh7EtA/640?wx_fmt=jpeg" data-type="jpeg" data-w="300" style="width:40%;height:auto;"></section><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">此外,作者还提供了一个在线的IDE,你不妨赶紧试试,地址:</span><span style="color: #78ACFE;font-size: 14px;text-decoration: underline;">http://wenyan-lang.lingdong.works/ide.html</span></section><p style="text-align:center;" align="center">
</p><p style="text-align:center;" align="center"><img class="rich_pages js_insertlocalimg" data-ratio="0.6738382099827883" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBFYAScaDWgNYlfEFkgwje5T1x9pClwb3xcdiaDWmEtazPjMicEAZKJGWJqujVHj1GjwZcauPoIibHqiaA/640?wx_fmt=png" data-type="png" data-w="1162" style="width:95%;height:auto;"></p><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">你以为这就够了么?当然不,</span><span style="font-size: 15px;">作者还做了个图灵机demo:</span></section><p style="text-align:center;" align="center">
</p><section style="text-align: center;line-height: 1.75em;"><img class="rich_pages js_insertlocalimg" data-ratio="0.77265625" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvUjCecPDZicNxzcCJO1icllbTic1rrfp6AYLRWsXYLiakiamaNg7JrpOYCGEg/640?wx_fmt=png" data-type="png" data-w="1280" style="width:90%;height:auto;"></section><p>
</p><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="color: #AB1942;font-size: 18px;"><strong>相关语法表</strong></span></section><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">下面,我们在来看看相关的语法表,比如他是如何定义一个变量的:</span></section><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><img class="rich_pages js_insertlocalimg" data-ratio="0.48444444444444446" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvURlORchge0jH2iaHeLEibwIhL4Xz70EtDwntaChBLfF1698mUhC9atwQg/640?wx_fmt=png" data-type="png" data-w="675" style=""></section><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">还有一些运算是如何定义的呢?</span><span style="font-size: 15px;">如下:</span></section><p>
</p><section style="text-align: left;line-height: 1.75em;"><img class="rich_pages js_insertlocalimg" data-ratio="0.29270729270729273" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvUIqT2nrgXoV6K91ZTg6Fb8SOR1knUx5LP7qwFt7awnc1EFX2sAJia2Iw/640?wx_fmt=png" data-type="png" data-w="1001" style=""></section><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">还有基本的数学运算:</span></section><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><img class="rich_pages js_insertlocalimg" data-ratio="0.6261682242990654" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvUiacz0GT6mSZbDlKiacMPEx7ribxhl2QnHKx3xzhmHC7YWBe86Py8Jic5DA/640?wx_fmt=png" data-type="png" data-w="535" style=""></section><p>
</p><p><span style="font-size: 15px;">最后还有函数定义:</span></p><p>
</p><p style="text-align:center;" align="center"><img class="rich_pages js_insertlocalimg" data-ratio="0.30925737538148523" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_png/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvUHsu8DjoezpTxt7QDGGq5YOxBHjfs7fEfKibsBBHytLdgXicc9z3ebJjw/640?wx_fmt=png" data-type="png" data-w="983" style=""></p><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">看到这里,猿妹只能自叹自己没文化了,当年没能好好动脑敲代码。</span></section><p>
</p><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="color: #AB1942;font-size: 18px;"><strong>安装与使用</strong></span>
</section><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">说了这么多,要如何安装使用呢?</span><span style="font-size: 15px;">你只需要克隆此项目, (或者直接下载 </span><span style="font-size: 15px;background-color: #D6D6D6;">./build/wenyan.js</span><span style="font-size: 15px;"> 然后赋予它执行权限,在终端中输入 </span><span style="font-size: 15px;background-color: #D6D6D6;">chmod +x wenyan.js</span><span style="font-size: 15px;">)。</span><span style="font-size: 15px;"> 之后执行 </span><span style="font-size: 15px;background-color: #D6D6D6;">./build/wenyan.js</span><span style="font-size: 15px;"> 把源代码编译成为目标语言。</span><span style="font-size: 15px;">如果执行此命令不带任何参数,则输出以下帮助信息。</span></section><p>
</p><section style="text-align: left;line-height: 1.75em;">
</section><pre style="box-sizing: border-box;font-size: 16px;color: rgb(62, 62, 62);line-height: inherit;text-align: start;background-color: rgb(255, 255, 255);"><section style="box-sizing: border-box; margin-right: 2px; margin-left: 2px; padding: 0.5em; font-size: 12px; color: rgb(169, 183, 198); border-radius: 0px; background: rgb(40, 43, 46); display: block; overflow-x: auto; letter-spacing: 0px; text-align: left; line-height: 1.75em; overflow-wrap: normal !important; word-break: normal !important; overflow-y: auto !important; font-family: Consolas, Inconsolata, Courier, monospace;"><span style="font-size: 14px;">Usage: wenyan [options] [input files]</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 14px;">Options:</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 14px;">--eval    -e <<span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">string</span>>  : Give a <span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">string</span> instead <span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">of</span> a file (<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">default</span>: <span class="hljs-comment" style="box-sizing: border-box;color: #808080;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">')</span></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 14px;">--exec&nbsp;&nbsp;&nbsp;&nbsp;-x&nbsp;&lt;<span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">boolean</span>&gt;&nbsp;:&nbsp;Execute&nbsp;output&nbsp;(<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">default</span>:&nbsp;<span class="hljs-literal" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">false</span><span class="hljs-comment" style="box-sizing: border-box;color: #808080;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">')</span></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 14px;">--inspect -i <<span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">boolean</span>> : Interactive REPL (<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">default</span>: <span class="hljs-literal" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">false</span><span class="hljs-comment" style="box-sizing: border-box;color: #808080;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">')</span></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 14px;">--lang&nbsp;&nbsp;&nbsp;&nbsp;-l&nbsp;&lt;<span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">string</span>&gt;&nbsp;&nbsp;:&nbsp;Language:&nbsp;js/py&nbsp;(<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">default</span>:&nbsp;js<span class="hljs-comment" style="box-sizing: border-box;color: #808080;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">')</span></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 14px;">--log        <<span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">string</span>>  : Log file (<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">default</span>: /dev/null<span class="hljs-comment" style="box-sizing: border-box;color: #808080;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">')</span></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 14px;">--output&nbsp;&nbsp;-o&nbsp;&lt;<span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">string</span>&gt;&nbsp;&nbsp;:&nbsp;Output&nbsp;file&nbsp;(<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">default</span>:&nbsp;/dev/stdout<span class="hljs-comment" style="box-sizing: border-box;color: #808080;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">')</span></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"><span style="font-size: 14px;">--roman   -r <<span class="hljs-built_in" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">boolean</span>> : Romanize identifiers (<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">default</span>: `<span class="hljs-literal" style="box-sizing: border-box;color: #AE87FA;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">true</span><span class="hljs-comment" style="box-sizing: border-box;color: #808080;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">')</span></span><span style="font-size: 15px;box-sizing: border-box;color: #808080;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"></span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"></section></pre><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">然后就可以尝试编译几个简单的例子啦:</span></section><p>
</p><section style="text-align: left;line-height: 1.75em;">
</section><pre style="box-sizing: border-box;font-size: 16px;color: rgb(62, 62, 62);line-height: inherit;text-align: start;background-color: rgb(255, 255, 255);"><section style="box-sizing: border-box; margin-right: 2px; margin-left: 2px; padding: 0.5em; font-size: 12px; color: rgb(169, 183, 198); border-radius: 0px; background: rgb(40, 43, 46); display: block; overflow-x: auto; letter-spacing: 0px; text-align: left; line-height: 1.75em; overflow-wrap: normal !important; word-break: normal !important; overflow-y: auto !important; font-family: Consolas, Inconsolata, Courier, monospace;"><span style="font-size: 14px;">./build/wenyan.js examples/helloworld.wy -o helloworld.js</span><br style="box-sizing: border-box;font-size: inherit;color: inherit;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;"></section></pre><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">如果你只是尝鲜,就通过前面的IDE地址就可以体验啦。</span></section><p>
</p><p>
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 18px;color: #AB1942;"><strong>关于作者</strong></span>
</section><section>
</section><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">作者是一名卡内基梅隆大学的大四学生,将在2020年取得计算机科学学位,虽然还未毕业但已经有多个实习经历。</span><span style="font-size: 15px;">也有自己的个人项目网站。</span></section><p style="text-align:center;" align="center">
</p><section style="text-align: center;line-height: 1.75em;"><img class="rich_pages js_insertlocalimg" data-ratio="2.5234375" data-s="300,640" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/kOTNkic5gVBF0GFNUWCSNCibsW6F9pPFvUGzvtKcADGs67sQbcd20g11F4WiaRmG0LibzbEyje07hLufXxiayY0hB5Q/640?wx_fmt=jpeg" data-type="jpeg" data-w="1280" style="width:95%;height:auto;"></section><p style="text-align:center;" align="center">
</p><section style="text-align: left;line-height: 1.75em;"><span style="font-size: 15px;">通过他的Github主页,你还可以找到很多有趣的项目,例如可以用程序无限生成的中国山水画,age2death(抖音很火的看着自己慢慢变老),</span><span style="font-size: 15px;">edges2calligraphy(把你的涂鸦变成中国书法)格律诗编辑程序,隐士等等,从这些项目可以看出,这是一个对中国文化很感兴趣的小哥哥。</span></section><p>
</p><p style="text-align:left;" align="left"><span style="font-size: 15px;">最后再附上他的主页地址:</span><span style="font-size: 15px;color: #78ACFE;text-decoration: underline;">https://lingdong.works/</span><span style="font-size: 15px;color: #78ACFE;text-decoration: underline;"></span></p><p>
</p><p style="text-align:center;max-width: 100%;min-height: 1em;overflow-wrap: break-word !important;box-sizing: border-box !important;" align="center"><span style="font-size: 14px;color: #888888;">关注微信公众号【程序员黄小斜】回复“2019”领取我这两年整理的学习资料</span></p><p style="text-align:center;max-width: 100%;min-height: 1em;overflow-wrap: break-word !important;box-sizing: border-box !important;" align="center"><span style="font-size: 14px;color: #888888;">涵盖自学编程、求职面试、Java技术、计算机基础和考研等8000G资料合集。</span></p><p style="text-align:center;max-width: 100%;min-height: 1em;overflow-wrap: break-word !important;box-sizing: border-box !important;" align="center"><img class="rich_pages" data-cropselx1="0" data-cropselx2="574" data-cropsely1="0" data-cropsely2="574" data-ratio="1" data-s="300,640" src="https://mmbiz.qpic.cn/mmbiz_jpg/hbTNOSuicwltRh6snQXy7Kibo4tDdt8kS5SJicL4ndOIYdibmfWibdp3yRtpXuqyx2FEhUPtAAC0K05RQfP5bByW9KA/640?wx_fmt=jpeg" data-type="jpeg" data-w="600" style="width: 304px;height: 304px;overflow-wrap: break-word !important;box-sizing: border-box !important;"></p><section powered-by="135编辑器" style="margin-top: 10px;margin-bottom: 10px;max-width: 100%;font-size: 16px;text-align: right;overflow-wrap: break-word !important;box-sizing: border-box !important;" class="_135editor"><section style="max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;overflow-wrap: break-word !important;box-sizing: border-box !important;"><img class="raw-image" data-ratio="0.11875" src="https://mmbiz.qpic.cn/mmbiz_gif/xdx4BuWJ6OPQjlhSQmfibhBoEdkGJTG34uwOfLe2dsTQLspJXKmiajuxckUFMibwrtY9oLq54HmM5r0EeqqwbdGoQ/640?wx_fmt=gif" data-type="gif" data-w="640" style="vertical-align: middle;overflow-wrap: break-word !important;box-sizing: border-box !important;width: 341px;height: 40px;"></section></section></section>

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 212,222评论 6 493
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,455评论 3 385
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 157,720评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,568评论 1 284
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 65,696评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 49,879评论 1 290
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,028评论 3 409
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,773评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,220评论 1 303
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,550评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,697评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,360评论 4 332
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,002评论 3 315
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,782评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,010评论 1 266
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,433评论 2 360
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,587评论 2 350

推荐阅读更多精彩内容

  • 臧天朔,一个仅有过两面之缘的人,但每次都留下极深印象。 一次是家长会上,为女儿而来的他因为迟到,小心翼...
    水墨清尘阅读 1,640评论 2 3
  • 感恩妹妹给我和弟媳妇买衣服,很贵的羊绒,我们穿上都很合适,弟媳妇也很满意,祈愿我们这个大家庭正能量满满,幸...
    金刚家人阅读 70评论 0 0