feat: add native_lisp_function macro
- refactor project layout to use child crates - lispers-core: parser and evaluator - lispers-macro: proc macros
This commit is contained in:
14
lispers-core/src/parser/token.rs
Normal file
14
lispers-core/src/parser/token.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
#[derive(Debug, PartialEq, Clone)]
|
||||
/// Sum type of different tokens
|
||||
pub enum Token {
|
||||
FloatLiteral(f64),
|
||||
IntLiteral(i64),
|
||||
Dot,
|
||||
Nil,
|
||||
ParClose,
|
||||
ParOpen,
|
||||
Quote,
|
||||
StringLiteral(String),
|
||||
Symbol(String),
|
||||
True,
|
||||
}
|
||||
Reference in New Issue
Block a user