nom 0.3.9

A byte oriented, zero copy, parser combinators library
Documentation
/*
 * #[macro_export]
macro_rules! bit (
  ($i:expr, $submac:ident!( $($args:tt)* )) => (
    bit_impl!($i, $submac!($($args)*));
  );
  ($i:expr, $f:expr, $g:expr) => (
    bit_impl!($i, call!($f));
  );
);

#[macro_export]
macro_rules! bit_impl(
  ($i:expr, $submac:ident!( $($args:tt)* )) => (
    {
      use std::collections::BitVec;
      let bv = BitVec::from_bytes($i);
      $submac!($i, $($args)*)
    }
  );
);
*/

#[cfg(tests)]
mod tests {
  use super::*;
  use internal::{Needed,IResult};
  use macros::*;
  use std::collections::BitVec;

  #[test]
  fn bitvec_test() {
    let data = b"abcd";
    let bits = BitVec::from_bytes(&data[..]);
    println!("bits: {:?}", bits);
    println!("first bits: {:?}", &bits[..8]);
    assert!(false);
  }
}