Category talk:Wren-dynamic: Difference between revisions

Content added Content deleted
(Added Group class and changed blurb accordingly.)
m (Now uses Wren S/H lexer.)
 
Line 14: Line 14:
To create for example a Point tuple, one could proceed as follows:
To create for example a Point tuple, one could proceed as follows:


<syntaxhighlight lang="ecmascript">import "/dynamic" for Tuple
<syntaxhighlight lang="wren">import "/dynamic" for Tuple


var Point = Tuple.create("Point", ["x", "y"])
var Point = Tuple.create("Point", ["x", "y"])
Line 23: Line 23:


===Source code===
===Source code===
<syntaxhighlight lang="ecmascript">/* Module "dynamic.wren" */
<syntaxhighlight lang="wren">/* Module "dynamic.wren" */


import "meta" for Meta
import "meta" for Meta