# Turmali ![Turmali Logo](turmali.png "Turmali Logo") Turmali is a website building language. ▪ As in Python, blocks of code are delimited by their indentation. ▪ Classes are declared with the class keyword. ▪ Methods can be defined anywhere using the def keyword. ▪ Identifiers starting with a capital letter are constants which are globally accessible. ▪ Lower-case identifiers are local variables or method names. ▪ If a method has a receiver and no argument, parenthesis can be skipped, much like in Ruby. Eg.: self.print is the same as self.print(). ▪ The last value evaluated in a method is its return value. ▪ Everything is an object. ## Example ``` class Turmali: def name: "I'm Turmali" def turmali: 100 tml = Turmali.new print(tml.name) print(tml.turmali) ``` ## Installation Add this line to your application's Gemfile: ```ruby gem 'turmali' ``` And then execute: $ bundle Or install it yourself as: $ gem install turmali ## Usage $ tml example.tml $ tml # on Windows run with: ruby -I. tml [options] ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).