I am Getting problem with julia and light table to work them together

183 views
Skip to first unread message

tann...@gmail.com

unread,
Mar 15, 2016, 10:07:27 AM3/15/16
to julia-users
Hello,

I installed julia and light table is also connect with julia.But I dont know how to run code of light table on julia.Or we can say that how to make them on work together.
Thank you for your time 

BR,
Tanveer

randm...@gmail.com

unread,
Mar 16, 2016, 7:51:47 AM3/16/16
to julia-users
Hi Tanveer,

the Julia plugin for LightTable isn't maintened anymore. Recent work has focussed on getting Julia nicely integrated into Atom -- you can find the install instructions for that here. There's also a nice piece on the Juno workflow and how it differs from the usual REPL workflow here.

Best,
Sebastian

tann...@gmail.com

unread,
Mar 17, 2016, 5:24:20 AM3/17/16
to julia-users
Hello Sebastian,

Thank you for you reply. But when I open the light table it gives the notification "Connect with julia".But just the problem is that I dont know how to synchronize them both.Means if I write a program on light table then how i can run on julia.

Best Regards

Lutfullah Tomak

unread,
Mar 17, 2016, 5:33:17 AM3/17/16
to julia-users
Hi.
I think you need Shift+Enter or equivalent on OSX? If you want to print something you can open console tab to see. Also there is 'Evaluate All' in one of the top down menus.
But it'd better use new Atom interface because if you update lighttable you can break working setting.
Best,

tann...@gmail.com

unread,
Mar 17, 2016, 8:13:39 AM3/17/16
to julia-users
Hello Tomak,

Please dont mind if I am asking stupid question because I am just beginner on julia.I think I am not conveying you people right.Now I try again. I wrote the program on Light table and now I want to compile this program on julia.I dont know how I can synchronize both Julia and Light table.

Best Regards 

Lutfullah Tomak

unread,
Mar 17, 2016, 8:45:26 AM3/17/16
to julia-users
Hi again,
Julia programmes not yet can be compiled in the sense that c and fortran can be compiled. You define your methods/functions and later you use them in real context. As your julia file executed from top to down, the main julia executable parses it to internal codes and as you call a function within the file julia converts it to machine code and  runs it similar to python but JITed.

I don't know what you mean by synchronize but you can run a part of code where cursor is in your file by just shift+enter.

I think you may better start with generic distribution at julilang.org/download to get feel how julia compilation works. Also, if you don't have a reason to use discontinued or deprecated lighttable IDE interface you'd better start with Atom IDE interface and instructions for it is here https://github.com/JunoLab/atom-julia-client/tree/master/manual

Best,

tann...@gmail.com

unread,
Mar 17, 2016, 10:55:48 AM3/17/16
to julia-users
Yes Tomak,

When i write a code but it is not connected with julia in real time.Or even when I I press the key Shift+Enter it doesn't work also. suppose I wrote a simple code such as 
a=2
b=3
c=2+3
but pressing the key Shift+Enter it dont show the result on the julia.Can I fix this problem ? if i do not install any other text editor.

Best Regards  

Lutfullah Tomak

unread,
Mar 17, 2016, 1:04:25 PM3/17/16
to julia-users
I thought you already have julia connected to lighttable. If not you need some plugins for lighttable most notably Jewel. I insist that you use Atom is because it is maintained regularly and tested more. Last time I used lighttable interface, it did not work and in every update of lighttable it breaks more.
Reply all
Reply to author
Forward
0 new messages