Tutorial for using %julia in Sage Worksheets
This is a tutorial worksheet for SageMathCloud's Julia interface. This is orthogonal to IJulia and is a completetely different approach.
See http://julia.readthedocs.org/en/latest/manual/getting-started/
WARNING: Currently if you put %julia at the start of a cell it will be properly Julia syntax highlighted. If you just switch to Julia mode (with default_mode), then Python syntax highlighting happens instead. This is a temporary "not implemented" issue and won't be hard to fix.
Note that % modes do work here (we have markdown right here), unlike in IJulia, and you can escape to different other systems, convert variables back and forth, etc.
Sage pexepct modes have some interesting depth, for example:
Back to the tutorial...
Warning: imported binding for pi overwritten in module Main
3Warning: imported binding for sqrt overwritten in module Main
4