-
-
Notifications
You must be signed in to change notification settings - Fork 4
call
Pannous edited this page Dec 5, 2022
·
2 revisions
Function calls in Angle are really a matter of pattern matching. Bad idea? Function calls in Angle are Julia style: they belong to all arguments. => should the 'self'/'this' keyword apply to the first argument?
to integrate a function from a to b ...
from = 1
to = 2
integrate sin # feeds locals as arguments
Bad idea?
Todo Currently Angle is a compiled language. The (optional!) runtime does contain an interpreter (lacking in implementation) sharing the same parse -> analyze pipeline. All dynamic calls should probably be passed through that eval mechanism.
getstatic java/lang/System/out Ljava/io/PrintStream;
invokevirtual java/io/PrintStream/println(F)V