 tokens = narcissus.definitions.tokens
 parser = narcissus.parser
 
-# Some helpers for Narcissus nodes
+# ----------------------------------------------------------------------------
+# ## Narcissus node helpers
+
 parser.Node.prototype.left  = -> @children[0]
 parser.Node.prototype.right = -> @children[1]
 

  else
    "(#{str})"

# Debugging tool
p = (str) ->
  delete str.tokenizer  if str.tokenizer?
  console.log str
  ''

exports =
  version: '0.0.3'
  build: (str) ->

  toString: ->
    @code

# ----------------------------------------------------------------------------
# ## Helpers

# ### paren()
# Wraps a given string in parentheses.
# (`paren 'hi'`   => `"(hi)"`)
# (`paren '(hi)'` => `"(hi)"`)
paren = (string) ->
  str = string.toString()
  if str.substr(0, 1) == '(' and str.substr(-1, 1) == ')'
