September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
3
Task/Runtime-evaluation/OoRexx/runtime-evaluation.rexx
Normal file
3
Task/Runtime-evaluation/OoRexx/runtime-evaluation.rexx
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
a = .array~of(1, 2, 3)
|
||||
ins = "loop num over a; say num; end"
|
||||
interpret ins
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
$test2plus2 = '2 + 2 -eq 4'
|
||||
Invoke-Expression $test2plus2
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
$say = {"Hello, world!"}
|
||||
& $say
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
$say = {param ([string]$Subject) "Hello, $Subject!"}
|
||||
& $say -Subject "my friend"
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
$say = {param ([string]$Exclamation, [string]$Subject) "$Exclamation, $Subject!"}
|
||||
& $say -Exclamation "Goodbye" -Subject "cruel world"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
$title = "Dong Work For Yuda"
|
||||
$scriptblock = {$title}
|
||||
$closedScriptblock = $scriptblock.GetNewClosure()
|
||||
|
||||
& $scriptblock
|
||||
& $closedScriptblock
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
$title = "I'm Too Sexy"
|
||||
& $scriptblock
|
||||
& $closedScriptblock
|
||||
3
Task/Runtime-evaluation/Zkl/runtime-evaluation.zkl
Normal file
3
Task/Runtime-evaluation/Zkl/runtime-evaluation.zkl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Compiler.Compiler.compileText(
|
||||
"fcn f(text){text.len()}").f("foobar")
|
||||
//-->6
|
||||
Loading…
Add table
Add a link
Reference in a new issue