An open API service indexing awesome lists of open source software.

https://github.com/suhanyujie/my-parser-rs

study parser in rust
https://github.com/suhanyujie/my-parser-rs

parser rust-lang

Last synced: 14 days ago
JSON representation

study parser in rust

Awesome Lists containing this project

README

          

# my-parser-rs
* Rust 实现解析器组合子

## 目录
* [从零编写一个解析器(1)—— 解析数字](https://github.com/suhanyujie/my-parser-rs/blob/master/src/parse_num1.rs)
* [从零编写一个解析器(2)—— 字符串解析](https://github.com/suhanyujie/my-parser-rs/blob/master/src/parse_string.rs)

## 参考资料
* https://bodil.lol/parser-combinators/
* https://www.cnblogs.com/ishenghuo/p/11180670.html
* https://docs.rs/nom/6.0.0/nom/
* https://github.com/fucking-translation/tutorial/tree/main/Rust/nom/nom-tutorial
* 模板引擎 https://github.com/maciejhirsz/ramhorns
* nom 的错误恢复 https://eyalkalderon.com/blog/nom-error-recovery/