Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.21 KB

readme.md

File metadata and controls

51 lines (30 loc) · 1.21 KB

Befunge Interpreter

A Java-based interpreter for the Befunge esolang, featuring a visual stack and execution display. This interpreter allows users to run Befunge programs and see step-by-step execution along with a visual representation of the stack.

Features

  • Visual Execution: Step-by-step visualization of Befunge program execution.
  • Stack Visualization: Displays the state of the stack as the program runs.
  • Interactive Interface: User-friendly interface for easier debugging and learning.

Installation

Prerequisites

  • Java 8 or higher

Steps

  1. Clone the Repository:

    git clone https://github.com/Shubhamkashyap1601/Befunge.git
  2. Navigate to the Project Directory:

    cd Befunge/src
  3. Run the Interpreter:

    java befunge.Interpreter.HomeGUI

How to Use

  1. Load a Befunge Program: Use the GUI interface to open and load a Befunge program file.

  2. Execute the Program: Use the provided controls to step through the execution and view the visual stack representation.

Images

1. Factorial

Factorial

2. Guess Number

Guess Number