Programming Languages and Translators Fall 2007 Eli Hamburger (eh2315@columbia.edu) Michele Merler (mm3233@columbia.edu) Jimmy Wei (jw2553@columbia.edu)

Download Programming Languages and Translators Fall 2007 Eli Hamburger (eh2315@columbia.edu) Michele Merler (mm3233@columbia.edu) Jimmy Wei (jw2553@columbia.edu)

Post on 21-Dec-2015

215 views

Category:

Documents

2 download

TRANSCRIPT

  • Slide 1
  • Programming Languages and Translators Fall 2007 Eli Hamburger (eh2315@columbia.edu) Michele Merler (mm3233@columbia.edu) Jimmy Wei (jw2553@columbia.edu) Lin Yang (ly2179@columbia.edu) TMIL Text ManIpulation Language
  • Slide 2
  • Generate CAPTCHAs (image based RTT) Manipulate text on multiple images to create animations Create easily adaptable templates (for web site designers) Simple, easy to use, c++ like programming language that allows iterative operations text and images Motivation
  • Slide 3
  • TMIL Features Manipulate color, size, rotation, font of a text Write text on an image Draw lines on an image Open and save images Build text or lines animations on sequences of images
  • Slide 4
  • Lexical Conventions Basic types (C/C++ like): bool, char, float, int, string Built-in types: color (r,g,b) coordinate (x,y) image (h,w) text (name, font, colour, position, size, rotation) Built-in functions: open (image, name) create (image,h,w,bgcolor) save (image,name) drawline (image, pos1, pos2, color, width) int2string, float2string, string2float, string2int, char_at Operators: () [] + - * / % ++ -- == != > =

Recommended

View more >