Your hoot project is just amazing! I enjoyed playing with it a lot!
And about the question, both the following define-foreign works for the given type, but is there a way to combine the string and extern type?
(define-foreign console-log
“console” “log”
(ref extern) → none)
(define-foreign console-log
“console” “log”
(ref string) → none)
and How should i define a nested call like event.target.value, it seems that your project only use “xxx” “xxxx” format.
And at last, your hoot is just awesome!