pdl
Parse PDL file for the Chrome DevTools Protocol.
NOTE: PDL
(pronounced as ˈpo͞odl
) is a home-grown format to describe the DevTools protocol. PDL support, such as Sublime syntax highlighting and the json converter, is available at https://github.com/pavelfeldman/pdl.
Usage
To use pdl
in your project, add the following to your Cargo.toml:
[]
= "0.1"
Example
Use pdl::parse
to parse a PDL file as strongly typed data structures.
let mut f = open?;
let mut s = String new;
f.read_to_string?;
let = parse?;
println!;
println!;
For more detail, please check the parser
example.
Resources
- Chrome DevTools Protocol - Chrome DevTools Protocol Domain documentation
- Awesome chrome-devtools - Awesome tooling and resources in the Chrome DevTools ecosystem
- devtools-protocol repo - File issues at this repo if you have concerns or problems with the DevTools Protocol (aka Chrome Remote Debugging Protocol).