├── .babelrc ├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── Tame the BeaST.pdf ├── index.d.ts ├── package.json ├── src ├── bibfile │ ├── BibFile.ts │ ├── bib-entry │ │ ├── BibComment.ts │ │ ├── BibEntry.ts │ │ ├── BibPreamble.ts │ │ ├── BibStringEntry.ts │ │ └── bibliographic-entity │ │ │ ├── Author.ts │ │ │ ├── Authors.ts │ │ │ └── mandatory-and-optional-fields.ts │ └── datatype │ │ ├── KeyVal.ts │ │ └── string │ │ ├── BibStringComponent.ts │ │ ├── BibStringData.ts │ │ ├── BracedString.ts │ │ ├── QuotedString.ts │ │ ├── StringRef.ts │ │ └── bib-string-utils.ts ├── index.ts ├── lexer │ ├── BibBlockTypes.ts │ ├── IdToken.ts │ ├── Lexer.ts │ ├── NumericToken.ts │ ├── Token.ts │ ├── WhitespaceToken.ts │ └── deprecated_lexer_.js ├── nearley.d.ts ├── parser │ ├── parser.ne │ └── ts-parser.ts └── util.ts ├── test └── test.ts ├── tsconfig.json ├── tslint.json ├── version.js └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/README.md -------------------------------------------------------------------------------- /Tame the BeaST.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/Tame the BeaST.pdf -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./ts-compiled/index"; -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/package.json -------------------------------------------------------------------------------- /src/bibfile/BibFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/BibFile.ts -------------------------------------------------------------------------------- /src/bibfile/bib-entry/BibComment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/bib-entry/BibComment.ts -------------------------------------------------------------------------------- /src/bibfile/bib-entry/BibEntry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/bib-entry/BibEntry.ts -------------------------------------------------------------------------------- /src/bibfile/bib-entry/BibPreamble.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/bib-entry/BibPreamble.ts -------------------------------------------------------------------------------- /src/bibfile/bib-entry/BibStringEntry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/bib-entry/BibStringEntry.ts -------------------------------------------------------------------------------- /src/bibfile/bib-entry/bibliographic-entity/Author.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/bib-entry/bibliographic-entity/Author.ts -------------------------------------------------------------------------------- /src/bibfile/bib-entry/bibliographic-entity/Authors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/bib-entry/bibliographic-entity/Authors.ts -------------------------------------------------------------------------------- /src/bibfile/bib-entry/bibliographic-entity/mandatory-and-optional-fields.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/bib-entry/bibliographic-entity/mandatory-and-optional-fields.ts -------------------------------------------------------------------------------- /src/bibfile/datatype/KeyVal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/datatype/KeyVal.ts -------------------------------------------------------------------------------- /src/bibfile/datatype/string/BibStringComponent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/datatype/string/BibStringComponent.ts -------------------------------------------------------------------------------- /src/bibfile/datatype/string/BibStringData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/datatype/string/BibStringData.ts -------------------------------------------------------------------------------- /src/bibfile/datatype/string/BracedString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/datatype/string/BracedString.ts -------------------------------------------------------------------------------- /src/bibfile/datatype/string/QuotedString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/datatype/string/QuotedString.ts -------------------------------------------------------------------------------- /src/bibfile/datatype/string/StringRef.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/datatype/string/StringRef.ts -------------------------------------------------------------------------------- /src/bibfile/datatype/string/bib-string-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/bibfile/datatype/string/bib-string-utils.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lexer/BibBlockTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/lexer/BibBlockTypes.ts -------------------------------------------------------------------------------- /src/lexer/IdToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/lexer/IdToken.ts -------------------------------------------------------------------------------- /src/lexer/Lexer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/lexer/Lexer.ts -------------------------------------------------------------------------------- /src/lexer/NumericToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/lexer/NumericToken.ts -------------------------------------------------------------------------------- /src/lexer/Token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/lexer/Token.ts -------------------------------------------------------------------------------- /src/lexer/WhitespaceToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/lexer/WhitespaceToken.ts -------------------------------------------------------------------------------- /src/lexer/deprecated_lexer_.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/lexer/deprecated_lexer_.js -------------------------------------------------------------------------------- /src/nearley.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/nearley.d.ts -------------------------------------------------------------------------------- /src/parser/parser.ne: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/parser/parser.ne -------------------------------------------------------------------------------- /src/parser/ts-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/parser/ts-parser.ts -------------------------------------------------------------------------------- /src/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/src/util.ts -------------------------------------------------------------------------------- /test/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/test/test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/tslint.json -------------------------------------------------------------------------------- /version.js: -------------------------------------------------------------------------------- 1 | exports.default = "0.2.0"; -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cacfd3a/bibtex-js/HEAD/webpack.config.js --------------------------------------------------------------------------------