diff options
| author | Micha White <botahamec@outlook.com> | 2023-10-03 18:21:04 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2023-10-03 18:21:04 -0400 |
| commit | 9d12d498a91caeb37ec5f7c7b20f5be6d5513119 (patch) | |
| tree | 0f90a5a9f70524f366ba1a5921c745a44db114b0 /pdn/src/lib.rs | |
| parent | 7f70505a5ed087c718a79edcc910867ce944a308 (diff) | |
First attempt at PDN implementation
Diffstat (limited to 'pdn/src/lib.rs')
| -rw-r--r-- | pdn/src/lib.rs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/pdn/src/lib.rs b/pdn/src/lib.rs index 06d268d..099a9d0 100644 --- a/pdn/src/lib.rs +++ b/pdn/src/lib.rs @@ -1,14 +1,2 @@ -pub fn add(left: usize, right: usize) -> usize { - left + right -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn it_works() { - let result = add(2, 2); - assert_eq!(result, 4); - } -} +mod grammar; +mod tokens; |
