Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
5
Task/Introspection/Lasso/introspection-1.lasso
Normal file
5
Task/Introspection/Lasso/introspection-1.lasso
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
var(bloob = -26)
|
||||
|
||||
decimal(lasso_version(-lassoversion)) < 9.2 ? abort
|
||||
|
||||
var_defined('bloob') and $bloob -> isa(::integer) and lasso_tagexists('math_abs') ? math_abs($bloob)
|
||||
15
Task/Introspection/Lasso/introspection-2.lasso
Normal file
15
Task/Introspection/Lasso/introspection-2.lasso
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
var(
|
||||
bloob = -26,
|
||||
positive = 450
|
||||
)
|
||||
|
||||
local(total = integer)
|
||||
|
||||
with v in var_keys
|
||||
// Lasso creates a number of thread variables that all start with an underscore. We don't want those
|
||||
where not(string(#v) -> beginswith('_')) and var(#v) -> isa(::integer)
|
||||
do {
|
||||
#total += var(#v)
|
||||
}
|
||||
|
||||
#total
|
||||
Loading…
Add table
Add a link
Reference in a new issue