adamchalmers / adamchalmers/fountain-rs

Outdated Dependency -- nom

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
25
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## 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!

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.