EPICS Controls Argonne National Laboratory

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  <20252026  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  <20252026 
<== Date ==> <== Thread ==>

Subject: RE: Generation of state diagram documentation from SNL
From: DESMARCHELIER Gabriel via Tech-talk <[email protected]>
To: Ed Janke <[email protected]>, "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 7 Jul 2025 14:20:18 +0000

Hello,

I've made this project available on github : https://github.com/gabriel-desmarchelier/plasma

Let me know if you manage to use it, and to what extent. No doubt it could be improved a lot.

Best,

Gabriel


De : Ed Janke <[email protected]>
Envoyé : vendredi 27 juin 2025 19:54:27
À : DESMARCHELIER Gabriel; [email protected]
Cc : [email protected]
Objet : Re: Generation of state diagram documentation from SNL
 

Hi Gabriel,

 

Thanks for the reply – I’m very interested!

 

The file you attached like the output I would be looking for.

 

 

Thanks again for reaching out,

Ed J

 

From: DESMARCHELIER Gabriel <[email protected]>
Date: Friday, June 27, 2025 at 5:04
AM
To: Ed Janke <[email protected]>, [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Generation of state diagram documentation from SNL

You don't often get email from [email protected]. Learn why this is important

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


References:
Re: Generation of state diagram documentation from SNL DESMARCHELIER Gabriel via Tech-talk
Re: Generation of state diagram documentation from SNL Ed Janke via Tech-talk

Navigate by Date:
Prev: Re: Can Archiver Appliance Store 50Hz Waveform Data? Ralph Lange via Tech-talk
Next: Re: Re: Can Archiver Appliance Store 50Hz Waveform Data? Ralph Lange 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  <20252026 
Navigate by Thread:
Prev: Re: Generation of state diagram documentation from SNL Ed Janke via Tech-talk
Next: Re: using PI C-863 Mercury motor controller with linux Dariush Hampai 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  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·