Closed Araq closed 2 months ago
I'm working on nif
output
echo (12'u32, 12.3, 12e2, 7.5f32, "123", r"debility")
(.nif24)
(.vendor "Nifler")
(.dialect "nim-parsed")
@0,1,/home/wind/defs/Nim/bug.nim(stmts
(cmd
echo @5(tupleConstr
@1 (suf 12 "u32")@9 12.3 @15 1200.0 @21 (suf
7.5 "f32"
)@29"123" @36(suf "debility" "R")
)
)
)
These are a weird unnecessary special case for a Lisp that cause unnecessary complexity. Instead number should be like this:
u
suffix it is an unsigned number.E
it is a floating point number.Typed integer literals then can be modelled simply as
(suf 234 "u32")
. This takes up more space but this should be irrelevant.