<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 -x <<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>> : Execute output (<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;">--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 -l <<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>> : Language: js/py (<span class="hljs-keyword" style="box-sizing: border-box;color: #F82375;line-height: inherit;word-wrap: inherit !important;word-break: inherit !important;">default</span>:
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 -o <<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>> : Output 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/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>
网友评论