JuliaLang / JuliaLang/JuliaSyntax.jl

Parsing regression for string macro with boolean suffix

Open
#401 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
293
Forks
50
PR merge metrics
No merged PRs in 30d

Description

flisp (on 1.9)
```
julia> Meta.parse("""test"asd"true""")
:(test"asd"true)
```
JuliaSyntax#main:
```
julia> JuliaSyntax.parse(Expr, """test"asd"true""")
:(test"asd" * true)
```

Note that this is different from other `Number`s:
```
julia> JuliaSyntax.parse(Expr, """test"asd"0.0""")
:(test"asd"0.0)

julia> JuliaSyntax.parse(Expr, """test"asd"0x0""")
:(test"asd"0)

julia> JuliaSyntax.parse(Expr, """test"asd"0f0""")
:(test"asd"0.0)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.