chunkybanana / igpay-atinlay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

igpay-atinlay

A bunch of pig latin translators in different languages

Usage

In any of these languages, include as needed then you can just call the pigLatin function.

Javascript

    <script src='./piglatin.js'></script>

Typescript

I just did this one because I was bored - it's identical to the Javascript one. Don't bother.


Coffeescript

Also just did this one because I was bored. No idea either...


Ruby

    require_relative('piglatin')

Php

    require "piglatin.php";

Java

I haven't figured out how to use packages, so for now, direct copy+paste.

Note: reverse pig latin is very tricky, as there is no way to tell how many letters have been moved.

About


Languages

Language:Java 30.5%Language:PHP 17.8%Language:JavaScript 13.4%Language:TypeScript 13.4%Language:Ruby 13.1%Language:CoffeeScript 11.8%