Skip to content

warahul/cs335-project1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

CS335A: Compiler Design (Assignment 1: LEXER)

Source Language: Python Target Language: x86 Assembly Implementation Language: Python Authors: Deepak Kumar, Kamesh Kanwariya(13336), Palash Chauhan, Rahul Kumar Wadbude(13533) Tool Used : PLY (Python Lex)

###Running Instruction

  • Change Directory to asgn1

    cd asgn1

  • Do make

    make

  • Run lexer(to execute the first test-case file test1.c)

    ./bin/lexer test/test1.c ##Directory Structure

  • src:

    • lexer [Python source file to specify language lexemes]
  • bin:

    • lexer [Python source file to specify language lexemes]
  • test:

  • test1.c

  • test2.c

  • test3.c

  • test4.c

  • test5.c

  • makefile [To move the source file to bin directory and making it executable]

  • readme.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published