An open API service indexing awesome lists of open source software.

https://github.com/prinuvinod/compiler-design

These are some Programs based on Designing a Compiler.
https://github.com/prinuvinod/compiler-design

compiler cprogramming lex lexical-analyzer yacc

Last synced: about 1 month ago
JSON representation

These are some Programs based on Designing a Compiler.

Awesome Lists containing this project

README

          

# Compiler Design
These are some Compiler Design Code

# How to Run
In Linux Terminal:

## 1. Lex Programs
```
lex filename.l
```
```
gcc lex.yy.c
```
```
./a.out
```

## 2. YACC Program

```
lex filename.l
```
```
yacc -d identifier.y
```
```
gcc lex.yy.c y.tab.c -lfl
```
```
./a.out
```

## 3. C Program
```
gcc filename.c
```
```
./a.out
```