V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
liujavamail

bearychat-runcode 运行代码片段

  •  
  •   liujavamail · Oct 28, 2018 · 3002 views
    This topic created in 2742 days ago, the information mentioned may be changed or developed.

    代码地址

    https://github.com/liujavamail/bearychat-runcode

    描述

    一个比较粗糙的运行代码片段机器人,目前只支持 ruby 和 js 的。

    输入 markdown 格式, 要以```ruby ``` 这样的代码快包住, js 同理

    input

    输出运算结果

    output

    Supplement 1  ·  Oct 29, 2018
    输入


    输出
    2 replies    2018-10-29 10:48:44 +08:00
    MyFaith
        1
    MyFaith  
       Oct 29, 2018
    图全挂了
    liujavamail
        2
    liujavamail  
    OP
       Oct 29, 2018
    @MyFaith 补了两个图
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2537 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 09:18 · PVG 17:18 · LAX 02:18 · JFK 05:18
    ♥ Do have faith in what you're doing.