ab0a94bd51
although int is still allowed for integers (gets replaced though)
12 lines
173 B
Scilab
12 lines
173 B
Scilab
int foo()
|
|
return 5
|
|
end
|
|
-- -- --
|
|
s(:statements,
|
|
s(:function, :Integer,
|
|
s(:name, :foo),
|
|
s(:parameters),
|
|
s(:statements,
|
|
s(:return,
|
|
s(:int, 5)))))
|