AdityaSingh17 / SSOSLAB

This repository contains lab programs for System Software and Operating System laboratory (17CSL67).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSOSLAB

This repository contains lab programs for System Software and Operating System laboratory (17CSL67).

Installing Lex and YACC on Ubuntu

sudo apt update
sudo apt install flex bison

General Execution steps for:

Lex programs

lex prog.l
cc lex.yy.c
./a.out

YACC programs

lex prog.l
yacc -d prog.y
cc lex.yy.c y.tab.c
./a.out

NOTE:

Press CTRL+d to terminate the Lexer process and view the final output of the program.

About

This repository contains lab programs for System Software and Operating System laboratory (17CSL67).


Languages

Language:C 82.6%Language:Lex 10.4%Language:Yacc 6.9%