DISQUS

tlrobinson.net / blog: Command line interpreter and REPL for JSCocoa

  • Patrick Geiller · 1 year ago

    Nice ! Note that evalJSFile returns a BOOL instead of the js result, I'll need to modify that.


    Getting arguments …


    <ul>
    <li>

    in : JSCocoaFFIArgument.toJSValueRef to convert any command line argument to a js string or number

    </li>
    <li>

    out : JSValueToStringCopy, JSStringCopyCFString to print results back to the command line

    </li>
    </ul>
  • Tom · 1 year ago

    Thanks for the link back here!

  • squirly · 10 months ago
    Nicely explained going to use it in the future.
  • dnl · 10 months ago
    Great script, trying now, thanks for share.
  • zetaclear · 10 months ago
    Nice script. Thanks for the code.
  • Beach Packages · 7 months ago
    hey your code is cool dude.. thanks for your nice post!!! very good try!!!