Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Compiler_hw1_lexical_analyzer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lang0909
Compiler_hw1_lexical_analyzer
Commits
c31e2be8
Commit
c31e2be8
authored
5 years ago
by
lang0909
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
cd4ee101
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-21
19 additions, 21 deletions
README.md
with
19 additions
and
21 deletions
README.md
+
19
−
21
View file @
c31e2be8
...
@@ -19,7 +19,7 @@ gcc lex.yy.c -lf -lfl
...
@@ -19,7 +19,7 @@ gcc lex.yy.c -lf -lfl
```
```
## 기능 설명
##
## 기능 설명
### TOKEN 종류
### TOKEN 종류
1.
Keywords
1.
Keywords
...
@@ -52,11 +52,11 @@ gcc lex.yy.c -lf -lfl
...
@@ -52,11 +52,11 @@ gcc lex.yy.c -lf -lfl
6.
Operators
6.
Operators
-
+ -
*
/
-
'+' '-' '
*
' '/'
-
=
-
'='
-
> >= < <= ==
!=
-
'>' '>=' '<' '<=' '==' '
!=
'
7.
기타 특수 문자들
7.
기타 특수 문자들
...
@@ -82,11 +82,9 @@ int f ( int a, double b)
...
@@ -82,11 +82,9 @@ int f ( int a, double b)
}
}
int sum ; sum print ( ;
int sum ; sum print ( ;
**실제 문장구조는 체크하지 않으므로 실제 문법과 달라도 상관없음**
**실제 문장구조는 체크하지 않으므로 실제 문법과 달라도 상관없음**
### 출력예시
## 출력예시
-
1. 토큰들의 리스트 (token 옆에 lexeme을 함께 출력할 것)
-
1. 토큰들의 리스트 (token 옆에 lexeme을 함께 출력할 것)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment