Skip to content

VirginiaTech/torgo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status release Join the chat at https://gitter.im/ZenHarbinger/torgo

Logo Interpreter in Java

Torgo is a Logo interpreter written in Java. It uses ANTLR as a language parser and for lexical analysis. The parsed scripts are then walked to interpret the commands.

Torgo is built using Java8.

Some goals for Torgo are:

  • to allow people to learn to program
  • to show how machines execute programs
  • to allow modifications and add to languages to change behaviors

This project was inspired by Tortue.

Languages

Torgo currently supports logo; jvmBasic and lisp are in development.

Features

  • Customizable GUI with DockingFrames
  • 'Debugging' a script
    • Allows pause/resume/stop
    • Can see the current operation highlighted in the script window
  • Trace Logging of execution
  • Call-Stack Watch
  • Variable Watch
  • Breakpoints
  • Export to various image types:
    • PNG
    • SVG
    • Animated GIF
  • Switch between any available languages
    • dynamic-logo
    • lexical-logo
    • jvmBasic
    • lisp

Future

  • jvmBasic and Lisp

Download and Install

Download Snapshot

  • git clone: git clone https://github.com/ZenHarbinger/torgo.git
  • tarball
  • zipball

Compile

git clone https://github.com/ZenHarbinger/torgo.git
cd torgo
mvn clean package

Run

java -jar target/torgo-1.7.1.jar

Packages

No packages published

Languages

  • Java 97.9%
  • Lex 1.2%
  • Other 0.9%