dotmethod by Alexander Knauth allows obj.method(x)
postfix-dot-notation by Alexander Knauth: Code like a.b is read as (b a), a.b.c is read as (c (b a)), and so on.
dotlang (unpackaged) by Georges Dupéron allows (map .f lst) to map the getter for the field f on the list of structures lst (uses a custom representation of structs, see the phc-adt package)
(define (from-origin x) : posn
(posn x x))
(from-orign 5).x
(begin a (from-origin 5)).x
obj.(move 5 6)
;; TODO bindings to cooperate with {}
array.[{1 + 1}].(foo)
->
(#%dot array (#%brackets (+ 1 1)) (foo))
See also:
obj.method(x)
(map .f lst)
to map the getter for the fieldf
on the list of structureslst
(uses a custom representation of structs, see the phc-adt package)