Coder Social home page Coder Social logo

fl-projects's Introduction

This repository contains projects of Theories of Machines and Languages course at Amirkabir University of Technology - Spring 2023

Project 1: DFA, NFA, and Regular Expression Converters

This repository contains the implementation of Project 1 for the Fundamentals of Languages and Machines course. Project 1 is divided into three parts, each addressing different aspects of automata theory and regular languages. Below is a brief overview of each part:

Part 1: DFA Acceptor

In this part, we implement a DFA (Deterministic Finite Automaton) acceptor. The goal is to create a program that can determine whether a given string is accepted by a given DFA. The implementation should take into account the transitions and accepting states of the DFA, and based on those, decide whether the input string is accepted or rejected.

Part 2: NFA to DFA Converter

In this part, we focus on converting NFAs (Nondeterministic Finite Automata) to DFAs. The program should be able to read an NFA and produce an equivalent DFA. This conversion is important as it simplifies the automaton and allows for efficient pattern matching and language recognition. The implementation should handle the nondeterministic nature of the input NFA and create a deterministic version of it.

Part 3: Regular Expression to NFA Converter

In this part, we explore the conversion of regular expressions to NFAs (Nondeterministic Finite Automata). Regular expressions are widely used for pattern matching, and the ability to convert them into automata enables efficient text processing and parsing. The program should take a regular expression as input and generate an NFA that recognizes the same language.

Project 2: Turing Machine for (3n+1)!


This repository also includes the implementation of Project 2, which focuses on Turing machines. The goal is to create a Turing machine that can compute the factorial of (3n+1), where 'n' is a non-negative integer. The program should take 'n' as input and produce the result of (3n+1)! using the capabilities of a Turing machine.

fl-projects's People

Contributors

precioux avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.