From c108741d0796be08592dc9b1493c740be9ff804a Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Thu, 14 Feb 2013 10:00:19 +0100 Subject: [PATCH] Mark release 0.1 --- acorn.js | 9 ++++++++- index.html | 8 ++++++-- package.json | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/acorn.js b/acorn.js index f7959aef8e..7048e91b5f 100644 --- a/acorn.js +++ b/acorn.js @@ -12,11 +12,18 @@ // Please use the [github bug tracker][ghbt] to report issues. // // [ghbt]: https://github.com/marijnh/acorn/issues +// +// This file defines the main parser interface. The library also comes +// with a [error-tolerant parser][dammit] and an +// [abstract syntax tree walker][walk], defined in other files. +// +// [dammit]: acorn_loose.js +// [walk]: util/walk.js (function(exports) { "use strict"; - exports.version = "0.0.2"; + exports.version = "0.1.0"; // The main exported interface (under `self.acorn` when in the // browser) is a `parse` function that takes a code string and diff --git a/index.html b/index.html index 4e3d209011..9e25efff0e 100644 --- a/index.html +++ b/index.html @@ -10,10 +10,14 @@ taken from Esprima by Ariya Hidayat.

https://github.com/marijnh/acorn.git -

Please use the github bug tracker to report issues.

(function(exports) {
+

Please use the github bug tracker to report issues.

+ +

This file defines the main parser interface. The library also comes +with a error-tolerant parser and an +abstract syntax tree walker, defined in other files.

(function(exports) {
   "use strict";
 
-  exports.version = "0.0.2";

The main exported interface (under self.acorn when in the + exports.version = "0.1.0";

The main exported interface (under self.acorn when in the browser) is a parse function that takes a code string and returns an abstract syntax tree as specified by Mozilla parser API, with the caveat that the SpiderMonkey-specific syntax diff --git a/package.json b/package.json index e4f125fe31..41c09018a4 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "ECMAScript parser", "homepage": "http://marijnhaverbeke.nl/acorn/", "main": "acorn.js", - "version": "0.0.2", + "version": "0.1.0", "engines": {"node": ">=0.4.0"}, "maintainers": [{"name": "Marijn Haverbeke", "email": "marijnh@gmail.com",