Generating truth values and tic-tac-toe game configurations using Maude

Rewriting logic is reflective of mathematical logic and it can be used to express logical statements of any kind. This feature is embedded in Maude, which makes it an ideal programming language in terms of rewriting logic. In this paper, we created modules to generate truth table given the variables...

Full description

Saved in:
Bibliographic Details
Main Authors: Saguisag, Jasmine Yvonne, Uro, Jason Salvador
Format: text
Language:English
Published: Animo Repository 2014
Subjects:
Online Access:https://animorepository.dlsu.edu.ph/etd_bachelors/17987
https://animorepository.dlsu.edu.ph/context/etd_bachelors/article/18500/viewcontent/thesis_paper2.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: De La Salle University
Language: English
id oai:animorepository.dlsu.edu.ph:etd_bachelors-18500
record_format eprints
spelling oai:animorepository.dlsu.edu.ph:etd_bachelors-185002022-09-29T07:40:13Z Generating truth values and tic-tac-toe game configurations using Maude Saguisag, Jasmine Yvonne Uro, Jason Salvador Rewriting logic is reflective of mathematical logic and it can be used to express logical statements of any kind. This feature is embedded in Maude, which makes it an ideal programming language in terms of rewriting logic. In this paper, we created modules to generate truth table given the variables and the logical operators AND, OR, NOT, and XOR. Since Maude is flexible, we can easily modify the number of variables we use in the module. In particular, we used the module that accepts two variables and compared it to an existing C++ program which also accepts two variables. By doing so, we were able to show the advantages and disadvantages of using Maude instead of another language when it comes to rewriting logic. To support the claim that Maude can be used to represent any logical problem, we also developed modules that processed and analyzed all the winning combinations of Tic-Tac-Toe. We conclude with some remarks about the efficiency of Maude when it comes to rewriting logic as opposed to using the limited functionalities of object-oriented type of programming languages. 2014-01-01T08:00:00Z text application/pdf https://animorepository.dlsu.edu.ph/etd_bachelors/17987 https://animorepository.dlsu.edu.ph/context/etd_bachelors/article/18500/viewcontent/thesis_paper2.pdf Bachelor's Theses English Animo Repository Maude (Computer program language) Computer Sciences
institution De La Salle University
building De La Salle University Library
continent Asia
country Philippines
Philippines
content_provider De La Salle University Library
collection DLSU Institutional Repository
language English
topic Maude (Computer program language)
Computer Sciences
spellingShingle Maude (Computer program language)
Computer Sciences
Saguisag, Jasmine Yvonne
Uro, Jason Salvador
Generating truth values and tic-tac-toe game configurations using Maude
description Rewriting logic is reflective of mathematical logic and it can be used to express logical statements of any kind. This feature is embedded in Maude, which makes it an ideal programming language in terms of rewriting logic. In this paper, we created modules to generate truth table given the variables and the logical operators AND, OR, NOT, and XOR. Since Maude is flexible, we can easily modify the number of variables we use in the module. In particular, we used the module that accepts two variables and compared it to an existing C++ program which also accepts two variables. By doing so, we were able to show the advantages and disadvantages of using Maude instead of another language when it comes to rewriting logic. To support the claim that Maude can be used to represent any logical problem, we also developed modules that processed and analyzed all the winning combinations of Tic-Tac-Toe. We conclude with some remarks about the efficiency of Maude when it comes to rewriting logic as opposed to using the limited functionalities of object-oriented type of programming languages.
format text
author Saguisag, Jasmine Yvonne
Uro, Jason Salvador
author_facet Saguisag, Jasmine Yvonne
Uro, Jason Salvador
author_sort Saguisag, Jasmine Yvonne
title Generating truth values and tic-tac-toe game configurations using Maude
title_short Generating truth values and tic-tac-toe game configurations using Maude
title_full Generating truth values and tic-tac-toe game configurations using Maude
title_fullStr Generating truth values and tic-tac-toe game configurations using Maude
title_full_unstemmed Generating truth values and tic-tac-toe game configurations using Maude
title_sort generating truth values and tic-tac-toe game configurations using maude
publisher Animo Repository
publishDate 2014
url https://animorepository.dlsu.edu.ph/etd_bachelors/17987
https://animorepository.dlsu.edu.ph/context/etd_bachelors/article/18500/viewcontent/thesis_paper2.pdf
_version_ 1772835133317971968