On Sat, Sep 30, 2023 at 8:36 PM Panicz Maciej Godek wrote: > > Yes. String[] is parsed as ($bracket-apply$ String) not exactly, {String[]} is parsed this way in SRFI 105 curly-infix: > '{String[]} '($bracket-apply$ String) String[] without being in { } is an error: scheme@(guile-user)> 'String[] $1 = String While compiling expression: Syntax error: unknown location: unexpected syntax in form () and in Racket with a srfi-105 reader: > 'String[] 'String #%app: missing procedure expression; probably originally (), which is an illegal empty application in: (#%app) but this works but is useless: scheme@(guile-user)> '(String[]) $2 = (String ()) > '(String[]) ;;racket '(String ()) i'm writing a converter from srfi-105 curly infix to scheme prefix , i have a racket version in R5RS that should be portable to any scheme and can convert any curly-infix scheme code to prefix scheme but the scheme should be R5RS compliant and i'm not sure Kawa is ? > > When in doubt, you can always evaluate the expression: > > (call-with-input-string "(String[])" read) this could be a solution, i suppose it evaluate the string as if it was a kawa expression, but it is not very elegant if the [] are used often in kawa code , but it is a solution indeed. it works , the square bracket in a string is not modified by the reader: scheme@(guile-user)> '(call-with-input-string "(String[])" read) $3 = (call-with-input-string "(String[])" read) i just adapted the curly-infix2prefix.scm for kawa, it is in attachment. It convert a curly-infix program in prefix scheme allowing to use syntax of SRFI-105 curly infix with Racket.But it is in command line not integrated in REPL.