From 70d59cff257dce824fcd52281126d0797db0f272 Mon Sep 17 00:00:00 2001 From: ArigatYungch Date: Mon, 7 Aug 2023 21:15:06 +0800 Subject: [PATCH] Added introductory comments --- DPDA.py | 11 +++++++++++ DPDA_GUI.py | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/DPDA.py b/DPDA.py index 005eb82..35787da 100644 --- a/DPDA.py +++ b/DPDA.py @@ -1,3 +1,14 @@ +# Deterministic Pushdown Automata (DPDA) - Python Implementation +# +# Authors: +# - GUERRA, Angelo (12182346) +# - WONG, Krizchelle (12118524) +# - YUNG CHENG, Adrian (12119873) +# +# Course: STALGCM +# Section: S11 +# Last Updated: August 7, 2023 + class DPDA: def __init__(self, states, input_alphabet, stack_alphabet, transitions, start_state, start_stack_symbol, accept_states): self.states = states diff --git a/DPDA_GUI.py b/DPDA_GUI.py index 428cc90..ef47b19 100644 --- a/DPDA_GUI.py +++ b/DPDA_GUI.py @@ -1,3 +1,14 @@ +# Deterministic Pushdown Automata (DPDA) - Python Implementation +# +# Authors: +# - GUERRA, Angelo (12182346) +# - WONG, Krizchelle (12118524) +# - YUNG CHENG, Adrian (12119873) +# +# Course: STALGCM +# Section: S11 +# Last Updated: August 7, 2023 + import tkinter as tk from tkinter import filedialog from DPDA import DPDA