Skip to content
Wollok Programming Language
Xtend Java Other
Branch: dev
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
org.uqbar.project.wollok.game
org.uqbar.project.wollok.launch
org.uqbar.project.wollok.lib
org.uqbar.project.wollok.product.ui.feature
org.uqbar.project.wollok.product.ui
org.uqbar.project.wollok.product
org.uqbar.project.wollok.releng
org.uqbar.project.wollok.sdk
org.uqbar.project.wollok.targetplatform
org.uqbar.project.wollok.tests.libfortest
org.uqbar.project.wollok.tests
org.uqbar.project.wollok.typeSystem.ui
org.uqbar.project.wollok.typeSystem
org.uqbar.project.wollok.ui.diagrams
org.uqbar.project.wollok.ui.launch
org.uqbar.project.wollok.ui
org.uqbar.project.wollok.updatesite
org.uqbar.project.wollok
org.uqbar.project.xinterpreter
scripts
wollok-language @ 671d798
wollok-tests
.gitignore
.gitmodules
.travis.yml
README.md
WollokFormatterProfile.xml
appveyor.yml
changeVersions.sh
settings.xml.enc
wollokInstall.bat
wollokInstall.sh

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:

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.