News for hackers. Stuff that matters.
Re:Editing Julia code with Emacs by ced on Sunday November 16, 2014 @07:36PM (#8616199)
Thank you for working on this!

Naive question: since Julia exposes the parser interface (as explained in https://www.youtube.com/watch?v=osdeT-tWjzk), wouldn't it be easier (and more reliable) give it the code and extract the information from the parse tree, rather than using regexes?

Re:Editing Julia code with Emacs by jernfrost on Monday November 17, 2014 @08:41AM (#8618142)
I believe I read that the reason one doesn't do that is that syntax highlighting should work even when you haven't finished typing or your code isn't entirely correct. It also should be quite fast. Being 100% accurate isn't that important with syntax highliting.
Re:Editing Julia code with Emacs by sgt101 on Sunday November 16, 2014 @02:51PM (#8615193)
You sir (the author) are a gentleman.

This is really enabling and a generous act of open-sourcing.

Thank you!

Re:Editing Julia code with Emacs by AnSavvides on Sunday November 16, 2014 @06:14PM (#8615925)
He is indeed - I was fortunate enough to work with Wilfred and he is truly passionate about OSS!
Re:Editing Julia code with Emacs by Wilfred on Sunday November 16, 2014 @05:44PM (#8615800)
Wow, I wasn't expecting to see this on HN.

Thanks for the kind words :)

Re:Editing Julia code with Emacs by barrkel on Sunday November 16, 2014 @07:35PM (#8616189)
One thing that confused me about your article, for a moment, was a matter of terminology, as applied to lexical tokens in most programming languages:

[]: these things are square brackets, or brackets for short

(): these things are parentheses

{}: these things are curly braces, or braces for short

Re:Editing Julia code with Emacs by eagle2001 on Monday November 17, 2014 @12:50AM (#8617023)
Can this be made to work with the ESS julia mode?
Re:Editing Julia code with Emacs by Wilfred on Monday November 17, 2014 @01:49PM (#8619733)
ESS includes a fork of julia-mode. I'm hoping to replace this with a dependcy on julia-mode, so ESS benefits from all the highlighting improvements we're doing. See https://github.com/emacs-ess/ESS/issues/119
Re:Editing Julia code with Emacs by tempodox on Monday November 17, 2014 @07:42AM (#8617887)
I need a language that can produce standalone binary executables. Regrettably, Julia will never get there. It's a lab hack tool for some efficiency glue between two Python scripts. As it is, we need a bury-it-where-nobody-can-find-it shovel and not syntax highlighting. But if anything can get this done, it's emacs.
Re:Editing Julia code with Emacs by jernfrost on Monday November 17, 2014 @08:40AM (#8618138)
How do you know that. I am pretty sure I've seen the Julia creators talk about generating binaries. Anyway neither Python nor Ruby does this either and yet that hasn't stopped them from being successful.