adamchalmers / adamchalmers/fountain-rs

Outdated Dependency -- nom

Đang mở
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
25
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## context

I am currently working on a CLI that will take `.fountain` files and export formatted `.pdf` files; I am using your Fountain parser to achieve this.

## problem

Currently, I cannot get the library working. I cannot figure out how to call it properly. I know it returns a Result with a tuple containing the `&str` (unparsed contents, I believe) and a `Document` (parsed contents). I cannot figure out what Error type it accepts. It's using strange Error types that are hard to account for and use (ex. `VerboseError<&str>`, `IResult<&'a str, Document, E>`).

In my attempts to get it working, I saw that the `nom` you are using in `v0.1.12` is outdated. I don't know if this is contributing to my issues at all, but I felt it was worth at least posting an issue about it.

Let me know how I can help fix this problem!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

The issue names no file, test, or entry point. Start by locating the dependency declaration for nom v0.1.12 and reviewing the parser's Result, IResult, and VerboseError usage. Done should mean the dependency is updated without breaking the parser's result and error handling, but the issue does not specify a validation command.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
tooling
Loại issue
Tái cấu trúc
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.