On Wed, Aug 24, 2022 at 9:29 AM Alceu Rodrigues de Freitas Junior
<alceu.freitas...@gmail.com> wrote:
> My name is Alceu and I'm new in this list.

Welcome to the list! 👋

> Now the problem is that I am not acquainted with the Jelly project itself 
> (https://commons.apache.org/proper/commons-jelly/)

I am not too acquainted with it either really. The version of Jelly
used in Jenkins is available at:

    https://github.com/jenkinsci/jelly

Since Apache Commons Jelly is more or less an abandoned project, the
Jenkins version of Jelly has become the de facto repository of record
in recent years.

> If any of you could give some points about finding where is the Jelly grammar 
> defined, I could try to use Antlr project to generate a grammar that can be 
> used with one of the several grammars distributions available to Perl.

I am not aware of a grammar. The parser is a relatively simple ~1,000
line Java class based on the SAX library:

    
https://github.com/jenkinsci/jelly/blob/fd230ceb0f98719de625d0bf8e239d0ec133ba9b/src/java/org/apache/commons/jelly/parser/XMLParser.java

Perhaps it might be feasible to invoke this parser directly from a
Java command-line tool or to port it to your language of choice.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAFwNDjr%3Dn6EZTnuJKEM2JbgPqgBPqy%3DgtUP%3DU%3DQ%2B%2Bcbahf%3Dktw%40mail.gmail.com.

Reply via email to