1
0
forked from Mirror/wren

Make first example correct (!). Fix #47.

This commit is contained in:
Bob Nystrom
2015-01-02 20:07:43 -08:00
parent 6b510da872
commit 2abeb9ad2e
2 changed files with 4 additions and 8 deletions

View File

@ -5,10 +5,8 @@ in a Lua-sized package.
IO.print("Hello, world!")
class Wren {
adjectives = ["small", "clean", "fast"]
languageType {
"scripting"
}
adjectives { ["small", "clean", "fast"] }
languageType { "scripting" }
}
```

View File

@ -7,10 +7,8 @@ in a Lua-sized package.
IO.print("Hello, world!")
class Wren {
adjectives = ["small", "clean", "fast"]
languageType {
"scripting"
}
adjectives { ["small", "clean", "fast"] }
languageType { "scripting" }
}
* **Wren is small.** The codebase is under 4,000 semicolons which keeps the