chickadee » inline » inline

(inline STRING [OPTIONS])syntax

Expands into a call of inline-compile and compiles the code given in STRING. If encountered in compiled code, then this form will directly expand into a (bind* ...) form, effectively embedding the inline code in the compiled file (so no run-time compilation is needed). The optional string argument OPTIONS may contain additional compilation parameters (these are ignored, when inline is used in compiled code).

(inline "int foo(int n) { return(n * 2); }") 

  ==> (inline-compile "int foo(int n) { return(n * 2); }") ; when interpreted
  ==> (bind*                                             ; when compiled
        "int foo(int n) { return(n * 2); }")