JuliaLang / JuliaLang/JuliaSyntax.jl
Additional :block for non-standard for loops compared to flisp
Open
- Dominant language
- Julia
- Stars
- 293
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
flisp:
```
julia> Meta.show_sexpr(Meta.parse("for f() = 1:3; f(); end"))
(:for, (:(=), (:call, :f), (:call, :(:), 1, 3)), (:block,
:(#= none:1 =#),
(:call, :f),
:(#= none:1 =#)
))
```
JuliaSyntax#main:
```
julia> Meta.show_sexpr(JuliaSyntax.parse(Expr, "for f() = 1:3; f(); end"))
(:for, (:(=), (:call, :f), (:block,
:(#= line 1 =#),
(:call, :(:), 1, 3)
)), (:block,
:(#= line 1 =#),
(:call, :f),
:(#= line 1 =#)
))
```
Is this an intentional change?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.