pub fn parse_str(sexp: &str) -> Result<Sexp, SexpError> {
    if sexp.is_empty() {
        return Ok(Sexp::default());
    }
    let mut parser = Parser::default();
    parser.data = sexp.chars().collect();
    parse(&mut parser)
}
/// parse a &str to a symbolic-expression
parse a &str to a symbolic-expression
parse a &str to a symbolic - expression
pub fn parse_str(sexp: &str) -> Result<Sexp, SexpError> {
    if sexp.is_empty() {
        return Ok(Sexp::default());
    }
    let mut parser = Parser::default();
    parser.data = sexp.chars().collect();
    parse(&mut parser)
}
pub fn parse_str ( sexp : & str ) -> Result < Sexp , SexpError > { if sexp . is_empty ( ) { return Ok ( Sexp :: default ( ) ) ; } let mut parser = Parser :: default ( ) ; parser . data = sexp . chars ( ) . collect ( ) ; parse ( & mut parser ) }
parse a &str to a symbolic-expression
parse a &str to a symbolic - expression
sexp
&str