Today I realized that this:
$ bb -e '(.replaceAll "foo" "o" "x")'
"fxx"
doesn't work in YS:
$ ys -ce '(.replaceAll "foo" "o" "x")'
(. replaceAll "foo" "o" "x")
and:
$ ys -ce '.replaceAll("foo" "o" "x")'
(__ ($$) (list replaceAll "foo" "o" "x"))
using . is problematic because it wants to be the function chaining infix operator.
A fix is easy but need to decide between:
(\.replaceAll "foo" "o" "x")
(&replaceAll "foo" "o" "x")
;; something else\. is probably right as YS uses \ as the meta escape. almost like # reader macros in clojure
and & is a YAML syntax char already.
Makes me wonder what other parts of clojure we'll need to adjust for.