项目作者: vedanshdwivedi

项目描述 :
Language Processors Lab
高级语言: C
项目地址: git://github.com/vedanshdwivedi/S7-Lab1-Language_Processors-Lab.git
创建时间: 2019-07-08T04:25:33Z
项目社区:https://github.com/vedanshdwivedi/S7-Lab1-Language_Processors-Lab

开源协议:MIT License

下载


S7-Lab-Language Processors Lab

Program 1 : program1.c

  • count no of characters, white spaces and vowels in a input line

Link to the Code

Output


Program 2 : program2.c

  • read a file and count no of characters, no of words and no of lines in the file.
    NOTE : Ensure that you have a file named ‘text.txt’ before executing

Link to the Code

Output


Program 3 : program3.c

  • find words that contain at least a vowel from a file and store it in a table and then find the no. of occurances that particular word in the file by taking word from the table.
    NOTE : Ensure that you have a file named ‘test1.txt’ before executing

Link to the code

Output


Program 4 : program4.c

  • construct a finite automata which will identify the keywords like : if, for, while, do, else and identifiers from a file
    NOTE : Ensure that you have a file named ‘test2.txt’ before executing which consists a C program

Link to the Code

Output


Program 5 : program5.c

  • generate a symbol table from an assembly language program stored in a file using C program.
    NOTE : Ensure that you have a file named ‘ass1.txt’ before executing which consists a C program