Portability | unknown |
---|---|
Maintainer | ruben.astud@gmail.com |
Safe Haskell | Safe-Infered |
A basic parser for .sub files (subtitles) based on Attoparsec
and Text
Terminology of the module
Refering to the parts of a single line of a subtitle file.
{50}{100}Drama here!
the first to numbers correspond to the frame in which the text Drama here! is displayed.
Re-exported Datatypes
module Text.Subtitles.SUB.Datatypes
Main Parsers
parseSingleLine :: Parser LineSource
Given the example return the corresponding Line representation. At the moment this not handles modifiers as underlines or bold text