Finite Automata And Formal Languages

Computer Implementation and Applications of Kleene’s S-M-N and Recursion Theorems In this research paper we have discussed kleen;s theorem in contrast with s-m-n theorem also we try to find out if kleen’s theorem is practically efficient in program construction in the light of a few complex computational problems and cases whose accurate deductions can be found in classic mathematics. we will specifically pinpoint a programming language which is compatible enough to accept the certain recursive function along a program with indexing.

Kleen’s s-m-n theorem proposes that a program is nothing but a set of certain instructions and those set of instructions can be altered and modified specialized whereas the kleen’s second recursion theorem emphasizes that a program can be enhanced and modified without any loss of its original context.

The theorems classical proves are remain productive and can be programmed. the enhanced programs are performance deficient or slow in terms of the s-m-n theorem. whereas the programs built on standard proofs are not efficient anymore by means of recursive theorem.

Get quality help now
Prof. Finch
Verified writer

Proficient in: Language

4.7 (346)

“ This writer never make an mistake for me always deliver long before due date. Am telling you man this writer is absolutely the best. ”

+84 relevant experts are online
Hire writer

A compiler is generally known as a program written in a programming language to translate a code of another programming language. Technically, a compiler reads a code in the human-understandable language (high-level language) and treats that piece of code as a “source” and the compiler then convert that code into a language understood by a computer. When we talk about constructing a compiler, a peak factor that matters in compiler construction is the correctness of an output that will be generated by the compiler.

Get to Know The Price Estimate For Your Paper
Topic
Number of pages
Email Invalid email

By clicking “Check Writers’ Offers”, you agree to our terms of service and privacy policy. We’ll occasionally send you promo and account related email

"You must agree to out terms of services and privacy policy"
Write my paper

You won’t be charged yet!

Compiler construction is a grueling process that requires extensive knowledge yet its vague to assure its correctness. For Compiling and compiler generation, s-m-n theorem is a perfectly developed application. Some programs are possessing the s-m-n property since their construction, such property is referred as partial evaluator or commonly known as program specializer. Suppose that you have a program and some of its inputs are fixed(constant) values but not all of them are constant. In this case a piece of code will be introduced by a partial evaluator and it will be tag along the original program such that when this new piece of code works on those nonconstant or non-fixed values, it will generate the same output as the original program may present.

The probability of utilizing the technique and methodology of partial evaluation in automation compiling and for compiler generation, begin from defining languages as interpreter was discovered by Futamura from japan and Turchin and Ershov from the Soviet Union individually. However, this concept in in practice as the concept of specialization in s-m-n theorem is no more in use of computation theory because of its lacking inefficiency. We have explained a comparatively efficient working of Kleen’s second recursive theorem. This theorem performed vitally in mathematics such as abstract algebra. However, it’s not yet confirmed that if this theorem is remarkable in computation theory.

A program is defined unambiguously in terms of its operation semantics where its operational semantics could be briefed as a piece of code or a program known as an interpreter. Theoretically In recursion, let’s assume that a programming language S and programming language L exists, where the interpreter is written in programming language L which is capable to translate any code return in a programming language. In other words, L-program is a universal computation function for S-program.

To achieve the correctness in compiler construction we set out goals to semantics directed compiler generation, from defining a formal language to deriving correctness and efficiency in compiler generation. When you are done with developing a well-structured and correct compiler then all generated compiler will be faithful to the definition of the language from it was being derived. Such systems fulfill the necessity of the arduous and intellectual work required to prove independent compiler correctness. Remarkably, its role in the semantic a part of realistic compiler construction might be just like that of YACC and different parser turbines for syntax analysis.

Industrial strength semantics-directed compiler generators have not been introduced. But tremendous progress has been achieved in past years. Systems based on lambda calculus has been initiated which consider the fasted methodology has been implemented over large language definitions. However, all of the systems and methods discussed are complex and effective, whether its Kleen’s s-m-n theorem, Kleen’s recursion theorem or methods involving partial evaluation and parsers, but correctness proofs are very hard to achieve.

Cite this page

Finite Automata And Formal Languages. (2021, Dec 31). Retrieved from https://studymoose.com/finite-automata-and-formal-languages-essay

👋 Hi! I’m your smart assistant Amy!

Don’t know where to start? Type your requirements and I’ll connect you to an academic expert within 3 minutes.

get help with your assignment