Code Monkey home page Code Monkey logo

turing's Introduction

GitHub issues GitHub stars GitHub license Gitter

Turing

Turing is a free and cross-platform app whose main goal is to assist the learning of algorithms and programming languages by providing easy-to-use development tools to all.

It provides a lighter alternative to the well-known Algobox, which is the currently de-facto widely used solution.

Quid, quis, quomodo?

Turing is written in Python 3.6 and uses the PyQt5 framework for its GUI. It provides two work modes:

  • Algorithm mode
    • Uses a "natural" pseudocode language similar to the one used in Algobox and school books.
    • Assisted development
  • Program mode
    • Uses Python, for the more experienced

In both modes, the code can be debugged and executed step-by-step to facilitate the problem-solving side of development.

Using Turing

Turing is cross-platform, but has only been tested on Windows and Linux-based operating systems. macOS should be supported, but no guarantee is made of that.

Python 3.6 required!

You need to have python3 point to Python 3.6 in your shell! Either use or an alias or a distribution that comes with Python 3.6.

It uses the following libraries:

  • PyQt 5 - UI framework
  • pyQode - PyQt code editor with syntax highlighting
  • Pygments - Syntax highlighter for printing code files
  • pep8 - Code quality checker

First, install everything using pip:

pip install --ignore-installed -r requirements.txt

Note: if you have Python 2.x installed on your computer (which is the case on 99% of Linux distributions), the old pip may be present in PATH and interfere with the above command line. If that happens, try using pip3 instead of pip. Of course, it must be the pip paired with the installed Python3 (so you may need to use pip3.6 instead).

Next, open the src/ folder and use run or source run.sh depending on your operating system.

Building Turing (using pyInstaller)

You need:

  • Python 3.6 (python3.6)
  • Python 3.6 dev package (python3.6-dev)
  • Qt5 lrelease (qt5-dev-tools)

turing's People

Contributors

zdimension avatar ljoyl avatar

Watchers

Dave Wolf 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.