Skip to content

amtuazon4/PyGUI

Repository files navigation

LOLCODE Intepreter

This interpreter written using Python includes the lexical, syntax, and semantics analyzer.

Getting Started

Prerequisities
python
python tkinter
Installation
  1. Make sure Python and pip is preinstalled on your system.
    • Type the following command to check if already installed:
      • python --version
      • pip -V
    • If not yet installed, you may grab the latest version here: https://www.python.org/downloads/
  2. Install Tkinter
    • Tkinter can be installed using pip. Type the command in the command prompt to install Tkinter.
      • pip install tk

Running

  1. In order to run the program, use the command python main.py or py main.py.
  2. The LOLCode Interpreter has the following parts:
    • File explorer. This allows you to select a .lol file to run. Once selected, the contents will be loaded to the text editor.
    • Text editor. This lets you view the code you want to run. This is also editable if you need to add changes before you run the code.
    • Lexemes Table. This displays al the lexemes in your code after you press the execute button.
    • Symbol Table. This displays the symbol table of your code after you press the execute button.
    • Execute Button. This runs the code from the text editor, which in return also returns the lexeme table and symbol table.
    • Console. This displays all of the user output.
    • Pop out Inbox. Everytime the code needs input from user, a dialog box will appear.

Authors

  • Andre Tuazon
  • Coleen Therese Agsao

Other Notes

  • This LOLCODE interpreter is the final project for CMSC 124 22-23 in UPLB.

About

Project for LOLCODE interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •