W3C home > Mailing lists > Public > public-aikr@w3.org > May 2020

Re: generic parsers

From: Jorge Sanchez <jorge@vionta.net>
Date: Thu, 07 May 2020 02:04:41 +0200
To: "Paola Di Maio" <paoladimaio10@gmail.com>
Cc: "W3C AIKR CG" <public-aikr@w3.org>, "Chris Fox" <chris@chriscfox.com>, "OwenAmbur" <owen.ambur@verizon.net>
Message-Id: <171ec72d77a.f4e4733346761.6336787622661201971@vionta.net>
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

This archive was generated by hypermail 2.4.0 : Thursday, 7 May 2020 00:05:09 UTC