New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bnf-parser

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bnf-parser - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

bin/artifacts/shared.d.ts

0

dist/bnf.js

@@ -0,0 +0,0 @@ import * as _Shared from "./shared.js";

2

package.json
{
"name": "bnf-parser",
"version": "4.0.0",
"version": "4.0.1",
"description": "Deterministic BNF compiler/parser",

@@ -5,0 +5,0 @@ "homepage": "https://bnf-parser.ajanibilby.com",

# BNF-Parser <!-- no toc -->
[![Reflection Test](https://github.com/AjaniBilby/BNF-parser/actions/workflows/npm-load-check.yml/badge.svg?branch=master)](https://github.com/AjaniBilby/BNF-parser/actions/workflows/npm-load-check.yml)
[![Test](https://github.com/AjaniBilby/BNF-parser/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/AjaniBilby/BNF-parser/actions/workflows/test.yml)

@@ -13,4 +12,9 @@

```
```bash
npx bnf-compile ./syntax.bnf
```
```ts
const tree = syntax.program(input).root;
import * as syntax from "syntax.js";
const tree = syntax.Parse_Program(input).root;
const block = program.value[0];

@@ -17,0 +21,0 @@ const name: string = block.value[0]; // typescript knows this **will** be a string

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc