diff --git a/.gitignore b/.gitignore
index 881590c..87cd695 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
/readme
/replybot
/include
-/macro
\ No newline at end of file
+/macro
+/recursion
\ No newline at end of file
diff --git a/examples/recursion/post.html b/examples/recursion/post.html
new file mode 100644
index 0000000..65ed59f
--- /dev/null
+++ b/examples/recursion/post.html
@@ -0,0 +1,6 @@
+
+
Message=#(post.Message)
+ #for(child in post.Children):
+ #include("post.html", post = child)
+ #!for
+
\ No newline at end of file
diff --git a/examples/recursion/recursion.go b/examples/recursion/recursion.go
new file mode 100644
index 0000000..0985421
--- /dev/null
+++ b/examples/recursion/recursion.go
@@ -0,0 +1,80 @@
+/*
+ * Salix - Go templating engine
+ * Copyright (C) 2023 Elara Musayelyan
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see