Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adobe/acc-xtk-parser

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/acc-xtk-parser

Adobe Campaign XTK expression parser

  • 2.0.4
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-40%
Maintainers
0
Weekly downloads
 
Created
Source

Adobe Campaign XTK expression parser

This project is the implementation of a grammar for Adobe Campaign XTK expressions. It is based on antlr4 syntax. The documentation of the API provided by this package can be found here.

Installation

Today the generation of the source code based on the g4 grammar files requires antlr4 to be installed. Please follow this guidelines to do it.

Rebuilding the grammar

This action needs to be run each time the .g4 file is modified to generate the corresponding js.

yarn run generateParser

Both the parsers and a skeleton of visitor for the parsing tree is generated.

Tips to modify the grammar

Changing the grammar without regression can be challenging, a good tool to quickly test grammars is including in the latest version of Intellij, it displays on the fly the parsing tree generating when the grammar is applied to a piece of code.

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

FAQs

Package last updated on 29 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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