UNPKG

psl-parser

Version:

A parser for the Profile Scripting Language

16 lines (10 loc) 266 B
# psl-parser TypeScript implementation of a PSL parser, from scratch. ## Usage ```javascript import { parseText } from 'psl-parser'; const parsedPsl = parseText(/* PSL source text */); parsedPsl.methods.forEach(method => { console.log(method.id.value); }) ```