Lint.jl relies on julia's built-in parser which only generates line number, not column number, in the abstract syntax tree, so it won't help on the 2nd question, either.
On Thursday, January 1, 2015 2:30:42 AM UTC+7, Isaiah wrote: > > 1) workspace() > 2) maybe Lint.jl could help here? Not sure (haven't used it myself yet, > although I probably should). There are various open issues about better > error messages although I don't remember one about this specifically. It > will probably be a bit more tractable as an up-for-grabs project if/when we > move to the pure-Julia parser. > > On Wed, Dec 31, 2014 at 2:16 PM, Zahirul ALAM <[email protected] > <javascript:>> wrote: > >> how would one clear values of variable, or change the type: for instance >> if I declare a = 5 and after evaluation, if I fix the statement reevaluate >> const a = 5, I get error that a is already defined. How would I get a out >> of the memory without restarting the entire kernel? >> >> Second question is if there is a syntax error, Julia says the line number >> where the syntanx error is. But for a long mathematical expression it is >> helpful if it says the character number as well. Sometime I find this >> frustrating because I have mistyped one less bracket or missed a plus sign. >> > >
