Giter Club home page Giter Club logo

shakespeare-algorithms's Introduction

Algorithms written in the Shakespeare Programming Language (SPL)

This is a repo where I keep my little programs I've done in the SPL.

Bubble sort

How to use it?

Write 5 numbers that you would like to sort. Do not type any spaces between them! The program will print the sorted array of numbers. It will neither print a newline character nor spaces between the numbers. A number must consist of one digit only.

Example:

In:
57490
Out:
04579

Stack sort

How to use it?

You can enter as much of nonnegative numbers as you want. Separate the numbers using a newline character. The program will stop getting the numbers from the input stream when the number "-1" is entered.

Example:

In:
420
404
23
14
290595
1
-1
Out:
1
14
23
404
420
290595

How to compile it?

The Shakespeare Programming Language is usually translated to C and then compiled. The official translator can be downloaded from the official webpage.

If you have any difficulties with making the translator run I do recommend to search thourgh the Shakespeare Programming Language Tag on StackOverflow.

Long live Shakespeare!

shakespeare-algorithms's People

Contributors

0mp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bhavvyaa

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.