RPL's lists are enclosed in {}

This commit is contained in:
Gwenhael Le Moine 2022-02-16 16:21:37 +01:00
parent 8b07724e50
commit 603a1627df
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -197,7 +197,7 @@ class Interpreter
"#{prefix}#{suffix}"
when :list
"[#{elt[:value].map { |e| stringify( e ) }.join(', ')}]"
"{ #{elt[:value].map { |e| stringify( e ) }.join(' ')} }"
when :program
"« #{elt[:value]} »"
when :string