Master'sOpen Access

Code production tools using automatic calculation of derivatives and simplification mathematical expressions

Is this your thesis?

This record came from a bulk archive import. If it’s yours, link it to your profile.

2013
0 views
0 downloads

Abstract (EN)

Automatic code generation tools which can produce code for syntax analyzers in many programming languages such as C, C++ and Java are the most important actors of the analysis and evaluation processes of formal languages. Context-free grammars (CFG) are used to describe the syntax of various formal languages such as programming languages, document formats and instruction sets.This study addresses how automatic code generation tools can be used in the field of the symbolic computation, applying them for the calculation of derivations of mathematical expressions and the simplification of the resulting expressions. A CFG grammar is developed for the syntactic and semantic structures of mathematical expressions and the abstract syntax classes representing the operators and functions are defined.In the study, by means of JavaCC , separating mathematical expressions into tokens, automatic code generation for parsers which perform syntax analysis and then produce object tree is carried out. At the phase of evaluating the object tree, the derivations and simplifications of the expressions contained in the tree nodes are discussed and the corresponding code instances are illustrated.

Author

Yavuz Tekbaş

How to Cite

Yavuz Tekbaş (Master Thesis). Code production tools using automatic calculation of derivatives and simplification mathematical expressions, 2013, Karadeniz Technical University.

Keywords

License

Tüm Hakları Saklıdır

This work is shared under the specified license terms.

More theses from Karadeniz Technical University