Open omphalos opened 10 years ago
Closer doesn't understand the concept of namespaces yet, because it wasn't needed on CodeCombat. The only legal position for a dot character is at the beginning -- (.property object)
-- or at the end of the first token, -- (constructor. params)
-- both used for JavaScript inter-op.
By the way you're welcome to take a crack at implementing namespaces ;)
Not that familiar with ClojureScript so sorry if this is off-base, but it's my understanding the the following should work:
require('closer').parse("(ns a.b)")
This works okay when I try the ClojureScript webservice REPL at Himera: http://himera.herokuapp.com/index.html
Closer seems unhappy about the dot inside "a.b".