You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement the sep keyword argument in print() #665
Activity
redbopo commentedon Jun 24, 2022
I think it's likely that handle_print() function will auto add sep=' ' in asr->llvm
lpython/src/libasr/codegen/asr_to_llvm.cpp
Line 4271 in a0699cb
more, I debug with it (new to the parser with asdl format)
lpython/src/lpython/semantics/python_ast_to_asr.cpp
Line 3279 in a0699cb
I think the args should be 4 instead of 3, though not have a good idea how to fix it yet.
Maybe we need to implement it from start with asdl.
faze-geek commentedon Jun 25, 2022
I guess this will also need modifications in
python_ast_to_asr.cpp, as of now the separator is not recognised in the asr .