V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
summerLast
V2EX  ›  分享创造

又一个编程语言?

  •  
  •   summerLast ·
    weekend-project-space · 2022-07-25 17:33:55 +08:00 · 2418 次点击
    这是一个创建于 612 天前的主题,其中的信息可能已经有所发展或是发生改变。

    各位帅哥美女好,最近我用 rust 写了一个 lisp(scheme)的解释器,然后支持命令行模式和直接运行模式,为它添加了使用多核和网络的能力,这里有一个命令行模式的展示

    --------------------------
     welcome rust-lisp v0.1.0 
    -------------------------- 
     source code:https://github.com/sunxyz/rust-lisp 
    
    > + 1 2 3 \
    4 5 6
    21
    > :save
    please input the file name:
    ./sample.lisp
     save file success
    > call-with-input-file "./sample.lisp" read-string
    (
        (+ 1 2 3 4 5 6)
    ) 
    > :quit
     good bye!
    
    

    我在想要不要做一个云函数的小玩具 ,还是继续添加一些特性 ,如果你是 liunx 平台可以下载进行试玩

    7 条回复    2022-08-17 08:41:18 +08:00
    banshan
        1
    banshan  
       2022-07-25 22:44:11 +08:00
    能提供 windows 下的可执行文件吗
    summerLast
        2
    summerLast  
    OP
       2022-07-26 09:18:40 +08:00
    @banshan 可以啊,需要安装打包环境,后面有空了打包一个
    summerLast
        4
    summerLast  
    OP
       2022-07-26 14:56:51 +08:00
    对了,windows 下文字颜色导致的错落可以 用 git 命令行工具 ./rust-lisp.exe 打开
    summerLast
        5
    summerLast  
    OP
       2022-07-27 09:10:44 +08:00
    banshan
        6
    banshan  
       2022-08-17 08:40:32 +08:00
    谢谢
    banshan
        7
    banshan  
       2022-08-17 08:41:18 +08:00   ❤️ 1
    star 了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3581 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:49 · PVG 08:49 · LAX 17:49 · JFK 20:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.