Skip to content
dev
Go to file
Code

README.md

Codacy Badge Travis Coverage Status Gitter

Wollok

A programming language and environment for teaching OOP.

Xtext-based implementation notes

This is the main repository for the Wollok Xtext-based implementation, which is part of the Wollok Language Specification

Installation

You have two options to download an use Wollok. Download a complete Wollok Product Distribution:

  • Linux 64 bits
  • Mac 64 bits
  • Windows 64 bits

Update Site (if you already have a compatible eclipse):

Wollok SDK standalone

Finally if you just want the headless Development Kit (WDK), for example to use a different IDE than Eclipse, you can download it from

This is useful for example if you are going to develop with Sublime or any other lightweight text editor

Documentation

Refer to the wiki for documentation like Language Reference and Environment.

What's the language like ?

  • Object Oriented
  • Non "class-centered". Allows you to create objects as first-class citizens without the need of classes. To start working with objects without introducing complex subjects and mechanisms as hierarchies, overriding methods, etc.
  • Tries to maximize compile-time checks while keeping the power of a dynamic language.
  • With implicit types: by means of a type system and type inference mechanism.
  • A clean modern syntax avoiding unnecessary symbols (java) while keeping it simple and even familiar for those who already have some experience in programming)
  • Interpreted: means that the code is being evaluated as it's being read. Although its declarative syntax makes it feel like a compiled language
package fliers {

   object superman {
        method fly(to) {
             // ...
        }
   }

   class Plane {
        method fly(to) {
            // ...
        }
   }

}

  val aBird = object {
        method fly(to) {
             // ...
        }
  }

  [ superman, new Plane(), aBird ].forEach { o => o.fly() }

Check out our Language Reference for a concrete idea of the syntax

How is the Environment ?

You can either use its IDE:

  • Completely integrated with Eclipse.
  • With: many static code analysis, Quick-Fixes, Refactors
  • An interactive Console (REPL)
  • Visual representations: Outline, Static diagram, Objects Diagrams

Or use the wollok-cli which has command line tools for running and checkin a program.

How to Contribute

If you want to contribute to the Wollok development that would be awesome ! We have set a number of wiki pages to help you start, and also documented conventions and instructions for different tasks.

See https://github.com/uqbar-project/wollok/wiki/Development

License

Copyright © 2016, Uqbar Project Foundation, All Rights Reserved.

Distributed under the terms of LGPLv3 https://www.gnu.org/licenses/lgpl-3.0.txt

Contributors

Metrics

PRs closed PRs

issues issue resolution

open issues

You can’t perform that action at this time.