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

又一个编程语言?

  •  
  •   summerLast ·
    weekend-project-space · Jul 25, 2022 · 3172 views
    This topic created in 1373 days ago, the information mentioned may be changed or developed.

    各位帅哥美女好,最近我用 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 replies    2022-08-17 08:41:18 +08:00
    banshan
        1
    banshan  
       Jul 25, 2022
    能提供 windows 下的可执行文件吗
    summerLast
        2
    summerLast  
    OP
       Jul 26, 2022
    @banshan 可以啊,需要安装打包环境,后面有空了打包一个
    summerLast
        4
    summerLast  
    OP
       Jul 26, 2022
    对了,windows 下文字颜色导致的错落可以 用 git 命令行工具 ./rust-lisp.exe 打开
    summerLast
        5
    summerLast  
    OP
       Jul 27, 2022
    banshan
        6
    banshan  
       Aug 17, 2022
    谢谢
    banshan
        7
    banshan  
       Aug 17, 2022   ❤️ 1
    star 了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3884 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 10:28 · PVG 18:28 · LAX 03:28 · JFK 06:28
    ♥ Do have faith in what you're doing.