-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
56 lines (41 loc) · 2.37 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
================================================================================
YAML Parser for Javascript
--------------------------------------------------------------------------------
Author: Diogo Costa ([email protected])
Date: 2nd April 2011
================================================================================
DESCRIPTION
This project intends to implement a simple YAML parser. It does not intend to
implement all the aspects formalized in the YAML specs, but rather to implement
a robust parser in Javascript, enough to load simply structured YAML files,
without depending on external libraries and as compatible as possible with all
Javascript-powered browsers.
Novikov I.G.: Currently, there are other versions in existence. This is a fork of SVN repository
at http://code.google.com/p/javascript-yaml-parser/ . Also, a CommonJS port exists
at https://github.com/h4evr/commonjs-javascript-yaml-parser . As far as I know,
this is the most current version. I will try to maintain it and maybe merge it into
the CommonJS version (or vice versa).
INSTALLATION
To use the parser, copy 'src/yaml.js' to your javascript-files folder and
include it in your page:
<script type="text/javascript" src="yaml.js"></script>
Then use the functions 'YAML.fromURL' or 'YAML.eval' to parse a YAML file.
DOCUMENTATION
In the 'lib' folder, you can find the JSDoc toolkit.
This toolkit is used to generate the documentation for the project.
The documentation is in the folder 'doc'.
Use a web browser to visualize 'index.html', the base file of the documentation.
To generate the documentation again, open a terminal and navigate to the folder
where the file 'Makefile' is. Then, run the command 'make'. This will generate
the documentation.
DISCLAIMER
I try to deliver high quality products, but I do not guarantee that the product
is free from defects. Our software is provided "as is", and you use the software
at your own risk.
I make no warranties as to performance, merchantability, fitness for a
particular purpose, or any other warranties whether expressed or implied.
Under no circumstances shall I be liable for direct, indirect, special,
incidental, or consequential damages resulting from the use, misuse, or
inability to use this software, even if I have been advised of the possibility
of such damages.
Please consult the license file for more information.