From 3b5196830c8987e7362e1cdd0fac295c3e127d90 Mon Sep 17 00:00:00 2001 From: mdiluzio Date: Tue, 13 Jan 2015 20:52:29 +0000 Subject: [PATCH] Add stub files for java, python and ruby apis --- api/java/ttrts.java | 12 ++++++++++++ api/python/ttrts.py | 9 +++++++++ api/ruby/ttrts.rb | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 api/java/ttrts.java create mode 100755 api/python/ttrts.py create mode 100755 api/ruby/ttrts.rb diff --git a/api/java/ttrts.java b/api/java/ttrts.java new file mode 100644 index 0000000..9413c37 --- /dev/null +++ b/api/java/ttrts.java @@ -0,0 +1,12 @@ + + +class ttrts +{ + + public static void main(String[] args) + { + System.out.println("I'm the ttrts Java module"); + + } + +} \ No newline at end of file diff --git a/api/python/ttrts.py b/api/python/ttrts.py new file mode 100755 index 0000000..1a92a6d --- /dev/null +++ b/api/python/ttrts.py @@ -0,0 +1,9 @@ +#! /usr/bin/python +# python ttrts module + +# Import the python regex module +import re + +headerRegex = re.compile( + "==== ttrts v(\\d+)\\.(\\d+)\\.(\\d+)+ ====\nNAME:(.+)\nSIZE:\\[(\\d+),(\\d+)\\]\nTURN:(\\d+)\n(WALL:.*?)" + ,re.MULTILINE ) \ No newline at end of file diff --git a/api/ruby/ttrts.rb b/api/ruby/ttrts.rb new file mode 100755 index 0000000..cc8a843 --- /dev/null +++ b/api/ruby/ttrts.rb @@ -0,0 +1,5 @@ +#!/usr/bin/ruby + +module TTRTS + +end \ No newline at end of file