Sha256: c4610e23fe5a38ed563cb92eded16b369a47370775cf0521cb532a2f206d7433

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 KB

Contents

# 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).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
turmali-0.0.4 README.md
turmali-0.0.3 README.md