1.0.14 • Published 25 days ago

@adobe/acc-xtk-parser v1.0.14

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
25 days ago

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.

1.0.14

25 days ago

1.0.13

26 days ago

1.0.12

28 days ago

1.0.11

1 month ago

1.0.9

2 months ago

1.0.10

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago