10 lines
1.3 KiB
Markdown
10 lines
1.3 KiB
Markdown
## Lexical Components in AVAP™
|
|
|
|
The lexical components in AVAP™ are similar to those in other programming languages like Python. Some of the most common lexical components in AVAP™ include:
|
|
|
|
* Keywords: These are reserved words that have a special meaning in the language and cannot be used as variable or function names. Examples of keywords in AVAP™ include if , else , for , while , return , among others.
|
|
* Identifiers: These are names given to variables, functions, and other elements of the program by the programmer. Identifiers must follow certain formatting rules and cannot match keywords. For example, variable , example_function , result are examples of identifiers in AVAP™.
|
|
* Operators: These are symbols used to perform operations in the program. Examples of operators in AVAP™ include + , - , * , / , = , == , != , among others.
|
|
* Literals: These represent constant values in the program, such as integers, floating-point numbers, text strings, and boolean values. Examples of literals in AVAP™ include 10 , 3.14 , "text" , True , False , among others.
|
|
* Punctuation Symbols: These are special characters used to separate elements of the code and define the structure of the program. Examples of punctuation symbols in AVAP™ include () , {} , [] , , , : , ; , among others.
|