0.0.4 • Published 9 years ago

ndparser v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Ndparser

This package is the CoffeeScript implementation of rocambole, though not 100% compatible, and contains much less feature.

API

ndparser = require 'ndparser'
print = console.log

string =
  '''
    function hello() {
      console.log(3);
    }
  '''

ast = ndparser.parse string
ndparser.walk ast, (node) ->
  print node.depth, node.type

License

MIT

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago