Skip to content

Commit

Permalink
Refactor parsers to work with retext
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 16, 2015
1 parent e5ff981 commit 772a6eb
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 237 deletions.
3 changes: 1 addition & 2 deletions component.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
"nlcst"
],
"dependencies": {
"wooorm/parse-latin": "^1.0.0",
"wooorm/parse-latin": "^2.0.0",
"wooorm/unified": "^1.0.0",
"wooorm/nlcst-to-string": "^1.0.0"
},
"repository": "wooorm/retext",
"scripts": [
"index.js",
"lib/parse.js",
"lib/compile.js"
]
}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

var unified = require('unified');
var Parser = require('./lib/parse.js');
var Parser = require('parse-latin');
var Compiler = require('./lib/compile.js');

/*
Expand Down
90 changes: 0 additions & 90 deletions lib/parse.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"dependencies": {
"nlcst-to-string": "^1.0.0",
"parse-latin": "^1.0.0",
"parse-latin": "^2.0.0",
"unified": "^1.0.0"
},
"repository": {
Expand Down
Loading

0 comments on commit 772a6eb

Please sign in to comment.