Tag Archives: compiler

what is compiler and how it works – Phases of Compiler

What is compiler and How it works? Its compiler that makes our high level language understandable to computer, by translating it into machine code or low level language. This means compiler is a Translator. In simple words we can define compiler as a system program that translates code written in high-level language like c, c++ into an … Continue reading what is compiler and how it works – Phases of Compiler

c program for dfa (deterministic finite automata)

c program for dfa (deterministic finite automata). Let us first know what is DFA or let us again revise the concept of DFA? Automation are basically language acceptor or language recognizer. A finite automata is a collection of 5-tuple(Q,∑,∂,q0,F). Where Q=finite set of states ∑=input symbol ∂=transition function q0=initial state F=set of final state c program for dfa #include<stdio.h> #include<conio.h> … Continue reading c program for dfa (deterministic finite automata)