Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
›
The Rust Programming Language
›
github.com/mozilla/rust
V2EX
›
Rust
用 Rust 写了一个 Lua 的 Parser,欢迎提 bug~
sssooonnnggg
·
Jun 1, 2020
· 3591 views
This topic created in 2161 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
Lua
Rust
parser
转译
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2606 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 33ms ·
UTC 13:34
·
PVG 21:34
·
LAX 06:34
·
JFK 09:34
♥ Do have faith in what you're doing.
❯