Add stub files for java, python and ruby apis
This commit is contained in:
parent
b01c93a000
commit
3b5196830c
3 changed files with 26 additions and 0 deletions
12
api/java/ttrts.java
Normal file
12
api/java/ttrts.java
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
|
||||||
|
class ttrts
|
||||||
|
{
|
||||||
|
|
||||||
|
public static void main(String[] args)
|
||||||
|
{
|
||||||
|
System.out.println("I'm the ttrts Java module");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
9
api/python/ttrts.py
Executable file
9
api/python/ttrts.py
Executable file
|
@ -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 )
|
5
api/ruby/ttrts.rb
Executable file
5
api/ruby/ttrts.rb
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/ruby
|
||||||
|
|
||||||
|
module TTRTS
|
||||||
|
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue