Skip to content

Commit b4ffff6

Browse files
committed
Initial commit
0 parents  commit b4ffff6

380 files changed

Lines changed: 65707 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2016 Baptiste Augrain
2+
3+
Permission is hereby granted, free of charge, to any person
4+
obtaining a copy of this software and associated documentation
5+
files (the "Software"), to deal in the Software without
6+
restriction, including without limitation the rights to use,
7+
copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
copies of the Software, and to permit persons to whom the
9+
Software is furnished to do so, subject to the following
10+
conditions:
11+
12+
The above copyright notice and this permission notice shall be
13+
included in all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
test:
2+
ifeq ($(g),)
3+
node_modules/.bin/mocha --colors --reporter spec
4+
else
5+
node_modules/.bin/mocha --colors --reporter spec -g "$(g)"
6+
endif
7+
8+
.PHONY: test

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@kaoscript/parser
2+
=================================================================
3+
4+
*@kaoscript/parser* parses Kaoscript files and generates an abstract syntax tree
5+
6+
License
7+
-------
8+
9+
Copyright © 2016 Baptiste Augrain
10+
11+
Licensed under the [MIT license](http://www.opensource.org/licenses/mit-license.php).

build/parser.js

Lines changed: 4329 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"name": "@kaoscript/parser",
3+
"description": "Parse Kaoscript files and generate an abstract syntax tree",
4+
"version": "0.1.0",
5+
"author": {
6+
"name": "Baptiste Augrain",
7+
"email": "daiyam@zokugun.org"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/kaoscript/parser"
12+
},
13+
"bugs": {
14+
"url": "https://github.com/kaoscript/parser/issues"
15+
},
16+
"licenses": [
17+
{
18+
"type": "MIT",
19+
"url": "http://www.opensource.org/licenses/mit-license.php"
20+
}
21+
],
22+
"main": "build/parser.js",
23+
"files": [
24+
"build",
25+
"src"
26+
],
27+
"dependencies": {
28+
"@kaoscript/ast": "0.1.x"
29+
},
30+
"devDependencies": {
31+
"chai": "2.x",
32+
"jison": "0.4.17",
33+
"mocha": "2.x"
34+
},
35+
"engines": {
36+
"node": ">= 6.0.0"
37+
},
38+
"scripts": {
39+
"generate": "jison ./src/parser.jison -o ./build/parser.js -p slr > /dev/null",
40+
"test": "mocha --colors --reporter spec"
41+
}
42+
}

0 commit comments

Comments
 (0)