added docs

This commit is contained in:
Francesco Cozzuto
2021-11-05 01:12:05 +01:00
parent af21e3b038
commit fe6f6b5039
4 changed files with 138 additions and 7 deletions
+10 -7
View File
@@ -3,15 +3,18 @@
# --- The first program --------------------------------------------------- #
#
# The sintax is similar to Python's but is more C-like. A Noja script
# is a list of statements that can be:
# is a list of statements that can be of multiple kinds:
#
# - function declaractions
# - expressions
# - if-else branches
# - while loops
# - do-while loops
# - return statements
# - composit statements
# - expressions
# - if-else branches
# - while loops
# - do-while loops
# - return statements
# - composit statements
#
# In general, unless it's inside strings, whitespace is ignored and
# comments start with the # character.
#
# The most basic yet interesting program is: