~/talk

Menhir and Friends: the State of the Art of Parsing in Rust

Talkat RustConf 2017 · on Saturday, 2017-08-19· [rust]
slides:none on file

Menhir is ported to Rust with a table-based backend that generates parsers plus a separate Rust runtime crate, and packaging is solved by a wrapper crate for Cargo and build-script trickery that prints linker flags so generated parsers can find the runtime. A simple lexer iterator adapter bridges common Rust lexers to Menhir’s interface. Error reporting uses generated error description files to produce precise runtime messages. An incremental API exists but remains unsafe and currently unexposed; overall the system works and is usable with caveats.

AI-written summary · about

  1. 0:00Intro
  2. 0:57What is Menhir
  3. 1:27What is a Low Passing
  4. 2:10Example of a Low Passing
  5. 3:36Menhir to Rust
  6. 9:45Print Tips
  7. 11:48Runtime
  8. 12:58Cargo
  9. 14:37Lexer
  10. 16:39iteratecelexa
  11. 17:13end
  12. 17:33example
  13. 19:09Nam
  14. 19:45Pros and Cons
  15. 24:17Compile Errors
  16. 27:12Accumulation of Menhir
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.