Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Trying to create a PK to Ruby wrapper for university

License

Notifications You must be signed in to change notification settings

lwassermann/plankalkul2ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

In 1945 Konrad Zuse developed the world’s first higher-level programming language - the “Plankalkül”. After playing around with the only contemporary implementation I could find, a language subset called “Plankalkül 2000” I decided to write my own implementation, which I duefully called PK2000.

Why

I wanted my PK code to compile to Ruby code in order to be able to require it directly into existing Ruby projects. This was mainly done to be able to demonstrate the behaviour of PK programs using graphic bindings for Ruby.

The reason for doing anything PK-related was a the “History of Programming Languages” seminar which I attended in the summer of 2009.

How

This project uses Treetop, Ruby2Ruby and Polyglot to parse, compile and be able to directly require PK code. To use it, simple require ‘pk2000’ and some PK code in your Ruby file.

About

Trying to create a PK to Ruby wrapper for university

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 97.7%
  • JavaScript 2.3%