Yeah, probably not the best terminology.  I'm defining a "form" as just the 
beginning / end of an expression (a chunk of code that would eval in the 
REPL).  By splitting up the source code into forms that can be individually 
evaluated, light table is able to provide inline results.  What makes this 
tricky is that the line information contained in the AST does not always 
line up correctly with the underlying source code.  The line information 
contained in the ast is useful for defining where a "form" begins, not 
always where it ends.

Best,
Jake

On Wednesday, January 22, 2014 3:27:04 PM UTC-5, Ivar Nesje wrote:
>
> What do you mean by Julia Forms?
>
> If you talk about the thing I found when I googled LightTable, it looks 
> like a good fit for Jula, but it will require a lot of work to get right. 
> Sad that you did not get any response on this :(
>
> kl. 21:04:20 UTC+1 tirsdag 21. januar 2014 skrev Jake Bolewski følgende:
>>
>> I was playing around with getting LightTable to talk to Julia and one 
>> issue I ran into was that it was difficult for me to reliably get the 
>> source line for the end of a Julia form (correctly getting the starting 
>> point was relatively easy).  Has anyone run into this and come up with a 
>> solution?
>>
>> Best,
>> Jake
>>
>

Reply via email to