aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2024-09-18 22:13:57 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2024-09-18 22:13:57 +0330
commitb6c2872fd2b4441e4c98b365e7401c5848d58154 (patch)
treea945d8abe499423b6f51a704689b440bb0b4f7e2 /README.md
parent7b735783ed9711d47411794d7d2051ffd3ade646 (diff)
added nested block comments
added reminder to better implement parse order struct
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index d0016ee..3bbc5c8 100644
--- a/README.md
+++ b/README.md
@@ -35,3 +35,16 @@ To print `Hello` with a new line
print("Hello\n")
```
+To comment one line you can use C++ style comments
+```felan
+// This is a comment
+print("Hi comment"); // This is another comment
+```
+
+To comment a block you can use C style comments
+```felan
+/* This is a comment */
+/* This is another /* comment but it is /* nested */ */ */
+print("Hi comment"/* Here another one */);
+```
+