forked from Mirror/wren
Make first example correct (!). Fix #47.
This commit is contained in:
@ -5,10 +5,8 @@ in a Lua-sized package.
|
|||||||
IO.print("Hello, world!")
|
IO.print("Hello, world!")
|
||||||
|
|
||||||
class Wren {
|
class Wren {
|
||||||
adjectives = ["small", "clean", "fast"]
|
adjectives { ["small", "clean", "fast"] }
|
||||||
languageType {
|
languageType { "scripting" }
|
||||||
"scripting"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -7,10 +7,8 @@ in a Lua-sized package.
|
|||||||
IO.print("Hello, world!")
|
IO.print("Hello, world!")
|
||||||
|
|
||||||
class Wren {
|
class Wren {
|
||||||
adjectives = ["small", "clean", "fast"]
|
adjectives { ["small", "clean", "fast"] }
|
||||||
languageType {
|
languageType { "scripting" }
|
||||||
"scripting"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
* **Wren is small.** The codebase is under 4,000 semicolons which keeps the
|
* **Wren is small.** The codebase is under 4,000 semicolons which keeps the
|
||||||
|
|||||||
Reference in New Issue
Block a user