Used to provide additional information in the source code.
They are ignored by the compiler.
It has only single line comment syntax ( # )
# This is a single-line comment
a <- 10 # Assigning a value to a
b <- 5 # Assigning a value to b
print(a + b) # printing the output of a + b
The Concepts and codes you leart practice in Compilers till you are confident of doing on your own. A Various methods of examples, concepts, codes availble in our websites. Don't know where to start Down some code examples are given for this page topic use the code and compiler.