EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: Re: Generation of state diagram documentation from SNL
From: Érico Nogueira Rolim via Tech-talk <tech-talk at aps.anl.gov>
To: DESMARCHELIER Gabriel <Gabriel.DESMARCHELIER at cea.fr>, "ejanke at keck.hawaii.edu" <ejanke at keck.hawaii.edu>, "simon.rees at psi.ch" <simon.rees at psi.ch>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 27 Jun 2025 15:49:42 +0000
Hi Gabriel!

Not who you were replying to, but definitely interested in accessing it. Taking advantage of the existing grammar seems like a good path forward!

Cheers,
Érico

On 27/06/2025 12:04, DESMARCHELIER Gabriel via Tech-talk wrote:

Hello,

On our side, we've developed a script that uses tree-sitter-epics (https://github.com/epics-extensions/tree-sitter-epics) to parse the SNL and build a Mermaid diagram from it.

It's not very UML-compliant but it has a convenient option that allows the diagram to include all statements found in state entries and transitions. I've attached an example.

Let me know if you are interested, since it's not publicly available at the moment.

Best regards,

Gabriel



Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.

Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.


Replies:
Re: External: Re: Generation of state diagram documentation from SNL Augusto Horita via Tech-talk
References:
Re: Generation of state diagram documentation from SNL DESMARCHELIER Gabriel via Tech-talk

Navigate by Date:
Prev: RE: [EXTERNAL] Re: using PI C-863 Mercury motor controller with linux Pearson, Matthew via Tech-talk
Next: AreaDetector Collaboration Meeting - July 3rd Érico Nogueira Rolim via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Re: Generation of state diagram documentation from SNL DESMARCHELIER Gabriel via Tech-talk
Next: Re: External: Re: Generation of state diagram documentation from SNL Augusto Horita via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025