Syntax
Syntax
Section titled “Syntax”NXL uses familiar symbols while keeping block structure explicit with {}.
Blocks
Section titled “Blocks”if age >= 18 { print("Adult")}Comments
Section titled “Comments”Single-line comments use //:
// This is a commentIdentifiers
Section titled “Identifiers”Identifiers can look like:
nameagemy_variableDelimiters
Section titled “Delimiters”The lexer recognizes:
( ) { } [ ] , . :Strings
Section titled “Strings”NXL source can contain strings such as:
"Hello"'Tanmoy'Numbers
Section titled “Numbers”Examples include:
12342.5