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:
2025-01-04 20:12:11 +01:00
parent 9179f06132
commit 3e11142361
21 changed files with 243 additions and 72 deletions

View 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,
}