ea6472c28f
also field to field_def (wip) and lots of whitespace due to ws fix
23 lines
434 B
Scilab
23 lines
434 B
Scilab
module Soho
|
|
ofthen(3 , var)
|
|
int ofthen(int n,ref m )
|
|
return 44
|
|
end
|
|
end
|
|
-- -- --
|
|
s(:expressions,
|
|
s(:module, :Soho,
|
|
s(:call,
|
|
s(:name, :ofthen),
|
|
s(:arguments,
|
|
s(:int, 3),
|
|
s(:name, :var))),
|
|
s(:function, :int,
|
|
s(:name, :ofthen),
|
|
s(:parameters,
|
|
s(:parameter, :int, :n),
|
|
s(:parameter, :ref, :m)),
|
|
s(:expressions,
|
|
s(:return,
|
|
s(:int, 44))))))
|