arturo-lang/arturo

render fails w underscore in name

Closed this issue · 1 comments

Describe the bug
expected (and working fine on repl):
$> a_b: 122
$> print(~"|a_b|")
122
image

To Reproduce
Run script with:
a_b: 122
print(~"|a_b|")

  1. See error

══╡ Syntax Error ╞═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ ══

Unable to parse input code
Issue found when trying to parse:
String

Missing:
closing double quote (")
Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: laptop
  • arch : amd64/linux (WSL2)
  • Version # version : v/0.9.83 b/2743 @ 2024-04-08T00:32:43+02:00

Additional context
idk if it is a problem on the syntax parser, or a deeper problem w underscore?

ah nvr mind, found the issue, mea culpa!