1.4.4 • Published 2 months ago

@balena/sbvr-parser v1.4.4

Weekly downloads
258
License
BSD
Repository
github
Last release
2 months ago

sbvr-parser

An SBVR Structured Englished to SBVR Logical Formulation parser.

The SBVR documentation can be found here http://www.omg.org/spec/SBVR/

Example usage

const SBVRParser = require('./sbvr-parser.js').SBVRParser.createInstance()
const rule = 'Term: name'
const LF = SBVRParser.matchAll(rule, 'Process')

console.log(LF)

outputs:

[ 'Model',
  [ 'Vocabulary', 'Default', [ 'Attributes' ] ],
  [ 'Term', 'name', 'Default', [ 'Attributes' ] ] ]

Tests

Tests can be found under the test/ folder, to run the whole suite use npm test

1.4.4

2 months ago

1.4.3

1 year ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago