diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-09-18 22:13:57 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-09-18 22:13:57 +0330 |
commit | b6c2872fd2b4441e4c98b365e7401c5848d58154 (patch) | |
tree | a945d8abe499423b6f51a704689b440bb0b4f7e2 /README.md | |
parent | 7b735783ed9711d47411794d7d2051ffd3ade646 (diff) |
added nested block comments
added reminder to better implement parse order struct
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 */); +``` + |