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
51fe5f02
Commit
51fe5f02
authored
5 years ago
by
lang0909
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
89c88e92
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+8
-2
8 additions, 2 deletions
README.md
with
8 additions
and
2 deletions
README.md
+
8
−
2
View file @
51fe5f02
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
-
flex 2.6.4
-
flex 2.6.4
## 사용 시 주의사항
## 사용 시 주의사항
### lex file을 flex를 이용하여 c 파일을 생성후 gcc로 컴파일 후 생성 된 object 파일을 이용하여 사용
###
#
lex file을 flex를 이용하여 c 파일을 생성후 gcc로 컴파일 후 생성 된 object 파일을 이용하여 사용
```
bash
```
bash
flex hw1.l
flex hw1.l
...
@@ -18,8 +18,14 @@ gcc lex.yy.c -ly -lfl
...
@@ -18,8 +18,14 @@ gcc lex.yy.c -ly -lfl
./a.out ex2.txt
./a.out ex2.txt
```
```
#### flex가 설치되어 있지 않을 때 설치 및 버전확인 방법
```
bash
sudo
apt-get
install
flex
-y
flex
--version
```
##
## 기능 설명
## 기능 설명
### TOKEN 종류
### TOKEN 종류
1.
Keywords
1.
Keywords
...
...
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