commit 7f2a90738b0f94a477bf643a71c90c352d5a1ec8 Author: Eatswap Date: Thu Dec 8 00:55:46 2022 +0800 add: init diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..0bcdc29 --- /dev/null +++ b/.clang-format @@ -0,0 +1,8 @@ +UseTab: true +IndentWidth: 4 +--- +Language: Cpp +# Force pointers to the type for C++. +DerivePointerAlignment: false +PointerAlignment: Left +--- \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6c8f54a --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +all: + echo "Working" + +clean: + echo "Cleaning" + diff --git a/sample.lisp b/sample.lisp new file mode 100644 index 0000000..4efd288 --- /dev/null +++ b/sample.lisp @@ -0,0 +1,14 @@ +( + defun f (x) + ( + if (<= x 1) + 1 + ( + + + (f (- x 1)) + (f (- x 2)) + ) + ) +) + +(f 15)