sssooonnnggg
V2EX  ›  Rust

用 Rust 写了一个 Lua 的 Parser,欢迎提 bug~

  •  
  •   sssooonnnggg · Jun 1, 2020 · 3690 views
    This topic created in 2198 days ago, the information mentioned may be changed or developed.
    https://github.com/sssooonnnggg/rslua

    包含 lexer 、parser 、ast walker 。

    可以用它来实现一些语法分析或语言转译功能,比如 lua to javascript,lua to typescript 等等。

    写这个项目主要用来一方面加深对 lua 源码的理解,一方面也熟悉一下 rust 的开发流程。总体来说,用 rust 写代码感觉还是比 c/c++爽一点的。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   966 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:46 · PVG 03:46 · LAX 12:46 · JFK 15:46
    ♥ Do have faith in what you're doing.