Re: generic parsers

Hi Paola,



From what I remember you can use https://www.antlr.org to define and interpret grammars. Xml would be an easy task for Antlr, but no need to do it as there are a myriad of pre-built tools that we can use for that. 


"is the wizard you are working on going to have an online interface?"











Yes, it definitely has. Multilingual (English and Spanish by now).The form is provided in two ways:

      - Anyone can download and use the client side form. It can be deployed in a HTTP server and integrated with a regular HTTP REST endpoint. Config can be adjusted using the config.xml file. 

      - Anyone can deploy the JEE application on a compliant Java/Jakarta EE server. It would require to adjust the user permissions or just disable them (check the role names on the web.xml). 



Any feedback would be great. Although at this point I expect that anyone that use it would require some level of assistance. The main goal is that any organization can use it to build their internal plan repository. 



Regards.






---- On Tue, 05 May 2020 13:33:25 +0200 Paola Di Maio <mailto:paoladimaio10@gmail.com> wrote ----



Thank you 

you say that antrl doesnt work with xml?



is the wizard you are working on going to have an online interface?

something we can enter the urls to be parsed with pointers to specific fields we want

to query 

would you like user input /requirements for the wizard?






On Tue, May 5, 2020 at 7:29 PM Jorge Sanchez <mailto:jorge@vionta.net> wrote:







Hi Paola,



Antlr is a well known tool for grammars. Anyway at StratML we rely on Xml schemas to describe and analyze the domain.



The original form is at Owens github (also on the http://stratml.us site):



https://github.com/OwenAmbur/StratML



You can find also the latest status of the wizard form at Vionta site (standalone client side):



https://github.com/vionta/StratML/tree/master/forms/wizard



Or the full web application (Java/Jakarta + maven) with the wizard form at: 



https://github.com/vionta/stratml-web-app



Kind Regards. 





---- On Mon, 04 May 2020 14:38:10 +0200 Paola Di Maio <mailto:paola.dimaio@gmail.com> wrote ----



There are a number of open source tools that ( they say)  should be able to parse structured text

I found antlr https://www.antlr.org/

do people know of others?



I wonder if we should/could evaluate existing tools to see if they can do the job befor building an ad hoc one



In addition, I t would be interesting to see the approach for jorge's parsers for stratml 

is this work being done somewhere visible like githug or is it happening offline?

Received on Thursday, 7 May 2020 00:05:09 UTC