From b6c2872fd2b4441e4c98b365e7401c5848d58154 Mon Sep 17 00:00:00 2001 From: A404M Date: Wed, 18 Sep 2024 22:13:57 +0330 Subject: added nested block comments added reminder to better implement parse order struct --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'README.md') 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 */); +``` + -- cgit v1.2.3