• DocumentCode
    724735
  • Title

    Nom, A Byte oriented, streaming, Zero copy, Parser Combinators Library in Rust

  • Author

    Couprie, Geoffroy

  • fYear
    2015
  • fDate
    21-22 May 2015
  • Firstpage
    142
  • Lastpage
    148
  • Abstract
    The recently created language Rust has been presented as a safer way to write low level code, even able to replace C. Is it able to produce safe and efficient parsers? We show that Rust´s features, like slicing, allow for powerful memory management, and that its type safety helps in writing correct parsers. We then study briefly how it can make streaming parsers, and how to provide better usability in a parsing library.
  • Keywords
    formal languages; grammars; program slicing; storage management; Nom; Rust language; level code; memory management; parser combinators library; parsing library; Arrays; Grammar; Instruction sets; Libraries; Memory management; Optimized production technology; low level code; memory safety; parser combinator; parser combinator library; state machine; state machine representation; streaming parser;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Security and Privacy Workshops (SPW), 2015 IEEE
  • Conference_Location
    San Jose, CA
  • Type

    conf

  • DOI
    10.1109/SPW.2015.31
  • Filename
    7163218