Permalink
Browse files

Added license information and a feature list to the readme.

  • Loading branch information...
1 parent aba9977 commit 9be06d830d8180280b503cb2318c8366fafa2531 Oliver Morgan committed Aug 30, 2010
Showing with 60 additions and 1 deletion.
  1. +36 −1 README.md
  2. +24 −0 index.js
View
37 README.md
@@ -4,6 +4,17 @@ Parrot is an incredibly lightweight, and super fast templating engine for node.j
All feedback is welcome.
+### Features
+
+* Fully Configurable
+* Native Javascript Support
+* Compiled and interpreted by V8 (Super Fast)
+* Internal Caching
+* Buffering
+* Fully configurable Sandbox
+* Lightweight, Elegant & Fully Annotated Code
+* Thorough Documentation
+
## Installation
Open up your project folder, create a folder called 'lib/parrot' if it doesn't exist already. Navigate to that folder and place the parrot index.js within that folder. The url to download the parrot files can be found here:
@@ -167,4 +178,28 @@ Example:
}
});
-> Note: Short tags will always work with an appended equals sign (=) to your start tag. So for the example above, it will be set to <?= ?> automatically.
+> Note: Short tags will always work with an appended equals sign (=) to your start tag. So for the example above, it will be set to <?= ?> automatically.
+
+> Note: Tag values are prepended and appended to regular expressions, ensure you're tags are escaped or intentionally not so.
+
+## License
+
+Copyright (c) 2010 Oliver Morgan (oliver.morgan@kohark.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
24 index.js
@@ -1,3 +1,27 @@
+/**
+ * License Information (MIT)
+ *
+ * Copyright (c) 2010 Oliver Morgan (oliver.morgan@kohark.com)
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
var crypto = require('crypto'),
Script = process.binding('evals').Script,
cache = { };

0 comments on commit 9be06d8

Please sign in to comment.