From ccbe69c9e072c4bf8364e23a461d224e150a421f Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 24 Jul 2023 12:51:48 +0800 Subject: 😎beauty table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.pdf | Bin 52923 -> 54209 bytes src/main.tex | 32 +++++++++++++++++++++++++++----- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/src/main.pdf b/src/main.pdf index 069af95..4ec4dd7 100644 Binary files a/src/main.pdf and b/src/main.pdf differ diff --git a/src/main.tex b/src/main.tex index 4013b74..442d3d9 100644 --- a/src/main.tex +++ b/src/main.tex @@ -1,11 +1,12 @@ \documentclass[conference]{IEEEtran} +\usepackage{booktabs} \begin{document} \title{Psi CLI Language} \author{\IEEEauthorblockN{HsiangNianian} -\IEEEauthorblockA{\textit{Department of Computer Science} \\ -\textit{University of RBQ U.}\\ -i@jyunko.cn}} + \IEEEauthorblockA{\textit{Department of Computer Science} \\ + \textit{University of RBQ U.}\\ + i@jyunko.cn}} \maketitle \begin{abstract} @@ -20,6 +21,27 @@ This section describes the key features of the Psi CLI language. \subsection{Lexer Module} The lexer module is responsible for converting source code into a sequence of tokens. +It recognizes the basic elements of the language such as identifiers, keywords, operators, and literals. + +\begin{table}[htbp] + \caption{Code Tokens and Corresponding Meanings} + \label{table:code_tokens} + \centering + \begin{tabular}{@{} c|c @{}} + \toprule + \textbf{Token} & \textbf{Meaning} \\ + \midrule + list & TYPE \\ + colors & IDENTIFIER \\ + = & EQUALS \\ + red & IDENTIFIER \\ + , & COMMA \\ + blue & IDENTIFIER \\ + , & COMMA \\ + green & IDENTIFIER \\ + \bottomrule + \end{tabular} +\end{table} \subsection{Parser Module} The parser module converts the token sequence into an abstract syntax tree (AST). @@ -58,8 +80,8 @@ This section provides information about the license of the Psi CLI language. The authors would like to thank... \section*{References} -[1] Reference 1 + [1] Reference 1 -[2] Reference 2 + [2] Reference 2 \end{document} \ No newline at end of file -- cgit v1.2.3-70-g09d2