Skip to content

Commit b4a6402

Browse files
authored
Use List rather than Array (#32)
* Changes array to list for better recursive perf * Update build * Update README * Pureing -> returning * Remove js stuff from build * Fix warnings
1 parent cec338d commit b4a6402

File tree

12 files changed

+57
-586
lines changed

12 files changed

+57
-586
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/.*
22
!/.gitignore
3+
!/.jscsrc
4+
!/.jshintrc
35
!/.travis.yml
46
/bower_components/
57
/node_modules/
68
/output/
7-
/tmp/

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
language: node_js
22
dist: trusty
33
sudo: required
4-
node_js:
5-
- 0.10
4+
node_js: 6
65
env:
76
- PATH=$HOME/purescript:$PATH
87
install:
98
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
109
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
1110
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1211
- chmod a+x $HOME/purescript
12+
- npm install -g bower
1313
- npm install
1414
script:
15-
- npm run build
15+
- bower install --production
16+
- npm run -s build
17+
- bower install
18+
- npm -s test
19+
after_success:
20+
- >-
21+
test $TRAVIS_TAG &&
22+
echo $GITHUB_TOKEN | pulp login &&
23+
echo y | pulp publish --no-push

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
purescript-parsing
2-
==================
1+
# purescript-parsing
32

3+
[![Latest release](http://img.shields.io/bower/v/purescript-parsing.svg)](https://github.com/purescript/purescript-parsing/releases)
44
[![Build Status](https://travis-ci.org/purescript-contrib/purescript-parsing.svg?branch=master)](https://travis-ci.org/purescript-contrib/purescript-parsing)
5+
[![Dependency Status](https://www.versioneye.com/user/projects/575abc417757a0003bd4bfae/badge.svg?style=flat)](https://www.versioneye.com/user/projects/575abc417757a0003bd4bfae)
56
[![Maintainer: paf31](https://img.shields.io/badge/maintainer-paf31-lightgrey.svg)](http://github.com/paf31)
67

7-
A parser combinator library based on Parsec.
8+
A parser combinator library based on Haskell's Parsec.
89

9-
- [Module documentation](docs/Text/Parsing/)
10-
- [Example usage](test/Main.purs)
10+
## Installation
1111

12-
### Installing
12+
```
13+
bower install purescript-parsing
14+
```
1315

14-
bower i purescript-parsing
16+
## Documentation
1517

16-
### Building / Testing
17-
18-
bower update
19-
pulp build
20-
pulp test
18+
- [See the tests](test/Main.purs) for some example usages.
19+
- Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-parsing).

bower.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,33 @@
66
"purescript"
77
],
88
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "git://github.com/purescript-contrib/purescript-parsing.git"
12+
},
913
"ignore": [
1014
"**/.*",
1115
"bower_components",
1216
"node_modules",
1317
"output",
14-
"tests",
15-
"tmp",
18+
"test",
1619
"bower.json",
17-
"Gruntfile.js",
1820
"package.json"
1921
],
20-
"repository": {
21-
"type": "git",
22-
"url": "git://github.com/purescript-contrib/purescript-parsing.git"
23-
},
2422
"dependencies": {
2523
"purescript-arrays": "^1.0.0",
2624
"purescript-either": "^1.0.0",
2725
"purescript-foldable-traversable": "^1.0.0",
2826
"purescript-identity": "^1.0.0",
27+
"purescript-integers": "^1.0.0",
2928
"purescript-lists": "^1.0.0",
3029
"purescript-maybe": "^1.0.0",
3130
"purescript-strings": "^1.0.0",
3231
"purescript-transformers": "^1.0.0",
33-
"purescript-unicode": "^1.0.0",
34-
"purescript-integers": "^1.0.0"
32+
"purescript-unicode": "^1.0.0"
3533
},
3634
"devDependencies": {
37-
"purescript-console": "^1.0.0",
38-
"purescript-assert": "^1.0.0"
35+
"purescript-assert": "^1.0.0",
36+
"purescript-console": "^1.0.0"
3937
}
4038
}

docs/Text/Parsing/Parser.md

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)