Remove list.rs from the parser
This commit is contained in:
parent
a5f88c221d
commit
076d391d4b
1 changed files with 0 additions and 21 deletions
|
@ -1,21 +0,0 @@
|
|||
/* parser/src/list.rs
|
||||
* Eryn Wells <eryn@erynwells.me>
|
||||
*/
|
||||
|
||||
extern crate sibillexer;
|
||||
extern crate sibiltypes;
|
||||
|
||||
use sibillexer::{Lexer, Token};
|
||||
use sibiltypes::{Bool, Char, Number, Value};
|
||||
use super::{Parsable, ParseError, Result};
|
||||
|
||||
pub enum SExpression {
|
||||
Atom(Box<Value>),
|
||||
List(Vec<SExpression>),
|
||||
}
|
||||
|
||||
impl Parsable for SExpression {
|
||||
fn parse(lexer: &Lexer) -> Result<SExpression> {
|
||||
Ok(SExpression::Atom(Box::new(Number::from_int(3, true))))
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue