JuliaParser.jl
JuliaParser.jl copied to clipboard
A rewrite of Julia's parser in Julia
import Pkg; Pkg.clone("https://github.com/JuliaLang/JuliaParser.jl") ERROR: UndefVarError: clone not defined Stacktrace: [1] getproperty(::Module, ::Symbol) at ./Base.jl:26 [2] top-level scope at REPL[8]:1 import Pkg; Pkg.add(Pkg.PackageSpec(url="https://github.com/JuliaLang/JuliaParser.jl") ) Cloning git-repo `https://github.com/JuliaLang/JuliaParser.jl` Updating git-repo `https://github.com/JuliaLang/JuliaParser.jl` ERROR:...
There's a typo [here](https://github.com/JuliaLang/JuliaParser.jl/blob/master/src/parser.jl#L1448) where the argument of `reverse!` should presumably be `lst` (PR #72) but in finding it I uncovered a bug. ```parse("[1,2;3]")``` results in ```ERROR: MethodError: no method...
This package isn't doing math, so `√` isn't appropriate. The meaning on `¬` is pretty unconventional too, and `⨳, ⪥, ⤄` are tough to read. Would have been nice to...
Comments
I'm not even sure that this would make sense to do, but would it be possible to optionally keep comments in a parsed expression? I'm thinking a comment could be...