Skip to content

Initial Release

Pre-release
Pre-release
Compare
Choose a tag to compare
@richardmrodriguez richardmrodriguez released this 06 May 09:03
· 8 commits to main since this release

This is the bare minimum of a Static Fountain Parser functional. You can expect to be able to parse all Fountain elements with the exclusion of:

  • Notes
  • Boneyards

This is how you use the static_fountain_parser:

use fountain-parser-rs::static_fountain_parser

let lines: Vec<FNLine> = static_fountain_parser::get_parsed_lines_from_raw_string(fountain_document_as_string);
for ln: &FNLine in  &lines {
     println!("{:?}\t\t\t{}", ln.fn_type, ln.string);
}