aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-07-23 13:45:17 +0800
committerGitHub <noreply@github.com>2023-07-23 13:45:17 +0800
commitdfa7eb4530d4b4062db8427a5b1b32ea5af7fb40 (patch)
treefd98bc0425218d815fcbf60508d540e06edaa2df
parent67b3f84092b0a85dfa29c1675b44280f9cb08668 (diff)
downloadTRPGNivis-dfa7eb4530d4b4062db8427a5b1b32ea5af7fb40.tar.gz
TRPGNivis-dfa7eb4530d4b4062db8427a5b1b32ea5af7fb40.zip
Update readme.rst
-rw-r--r--readme.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/readme.rst b/readme.rst
index d39f621..445b680 100644
--- a/readme.rst
+++ b/readme.rst
@@ -6,7 +6,7 @@ Psi is a new programming language designed with simplicity, flexibility, and per
Features
--------
-- `Lexer Module`_: The lexer module is responsible for converting the source code into a sequence of tokens. It recognizes the basic elements of the language such as identifiers, keywords, operators, and literals.
+- `Lexer Module`_: The lexer module is responsible for converting the source code into a sequence of tokens. It recognizes the basic elements of the language such as identifiers, keywords, operators, and literals. ``['OPERATOR', 'IDENTIFIER', 'SEPARATOR', 'SEPARATOR', 'CONTROL', 'IDENTIFIER', 'OPERATOR', 'INTEGER', 'SEPARATOR', 'IDENTIFIER', 'SEPARATOR', 'IDENTIFIER', 'OPERATOR', 'IDENTIFIER', 'SEPARATOR', 'IDENTIFIER', 'SEPARATOR', 'EOF']``
- `Parser Module`_: The parser module takes the sequence of tokens generated by the lexer module and transforms it into an Abstract Syntax Tree (AST). The AST is a tree-like data structure that represents the source code in a way that is closer to the syntactic structure of the programming language.