-
```
/*
* This is an example wollok hello world
*/
object ex {
method sayHi(){
console.println('Hello Wollok!')
}
}
object asd inherits A{
}
class A {
method something(){
…
-
Example:
``` xtend
mixin Iterable {
method iterator()
method reverseIterator()
}
object abc mixed with Iterable {
override method iterator() {}
override method reverseIterator ()…
-
We need to provide a wollok List class as part of the SDK.
Of course this class will be coded in wollok language. Although we will have some native methods.
Eventually the list literals will end up in…
-
It shows them as JVM exceptions with the whole java stack trace
Example to reproduce in REPL
``` xtend
val a = object { method toString() = "a" }
ma.foo()
```
That will show a huge stack instead of…
-
-
We need to model it as a regular wollok Exception
-
-
As part of the refactor to move logic from 100%-native objects to SDK objects coded in Wollok.
This will allow to do something like:
``` xtend
1 -> "Wollok"
```
-
It has some implementations that might be needed for other "wollok runtime" exceptions.
But the comment states it might not longer be necessary...
class MessageNotUnderstood extends WollokRuntimeExce…
-