TreeView.jl
TreeView.jl copied to clipboard
Draw Julia syntax trees as a graph
Version 1.5.2 (2020-09-23) Stacktrace: [1] getindex at .\dict.jl:467 [inlined] [2] #37 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\manifest.jl:215 [inlined] [3] _all(::Pkg.Types.var"#37#40"{Dict{String,Bool}}, ::Dict{String,Base.UUID}, ::Colon) at .\reduce.jl:828 [4] all at .\reduce.jl:823 [inlined] [5] destructure(::Dict{Base.UUID,Pkg.Types.PackageEntry}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\manifest.jl:215 [6]...
Minimal example: ```julia using TreeView @tree promote_type(Int64, Float64) ``` ``` LabelledTree({3, 2} directed simple Int64 graph, Any[:promote_type, :Int64, :Float64]) ! Missing $ inserted. $ l.44 } ; ```
Is there a way to save the resulting picture as an SVG file? I know that with `TikzPictures.jl` you can use: ```julia save(SVG("output"), tp) ``` but I haven't been able...
If i use a greek letter, the tree view for that symbol is empty. Is this a known issue? See screenshots below:  
I'm on Julia 1.0.3, TreeView 0.3.1 in an IJulia notebook: ```julia julia> myexpr = :(1.0 * x[1] + -1.0 * x[2] + -1.0 * x[3]) julia> @tree @eval myexpr LabelledTree({4,...
``` julia> @tree x MethodError: no method matching @tree(::LineNumberNode, ::Module, ::Symbol) Closest candidates are: @tree(::LineNumberNode, ::Module, !Matched::Expr) at /Users/dpsanders/.julia/dev/TreeView/src/tree.jl:65 ```
``` t = @dag_cse x^2 + y^2 + x^2 ``` gives the wrong tree.
Hi, When executing the simple example ```julia using TreeView @tree begin a = b + c d = (a - 2)^2 end ``` I get an error: ```julia error: error...
When I use TreeView in jupyter file in VS code, the default SVG size is a little small, and thus its font size is also small, is there way to...