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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Support Required for SNL
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Fri, 13 Jul 2012 18:56:31 +0200
On Friday, July 13, 2012, manta santosh aditya santosh_aditya wrote:
> I have started learning SNL and made good progress. What i want to know
> is "Is there any IDE based editor for SNL? If so, Please provide me link
> to download and usage". I tried in the following website but could not
> find any information.
> 
> http://css.desy.de/content/index_eng.html

I am not aware of an IDE for SNL inside CSS although this should be 
possible, given that CSS is based on Eclipse... if someone feels like doing 
it I would gladly offer assistence, but the bulk of the work would have to 
be one someone else's shoulder. I could also imagine to add things like 
configuration files (ideally automatically updated from the SNL grammar) for 
emacs or vi; what I do have is a mode for NEdit (a unix editor unfortunately 
no longer supported but still present in most linux distros) and I am 
willing to share it or even put it inside the project.

(the following might be off-topic, sorry if that's the case)

For the sequencer project itself I have (long term) plans to add two 
additional tools that might be useful for developers: (1) a trace facility 
and (2) a graphical representation of the state machine(s).

(1) This is a simple tool to show what's going on at runtime: you'll have a 
shell routine

	seqTrace(int level, epicsThreadId tid)

to set the debug level for a state set thread, tid=0 meaning all threads. 
For the trace levels I imagine something like

	0 = tracing off
	1 = display one line per state transition ("ss xyz, state blabla")
	2 = additionally display transition number
	3 = additionally display the code inside the corresponding when()-clause

(2) I imagine this to be an option for the SNL compiler, telling it that it 
should not generate code but rather a dot file (a la Graphviz), where the 
nodes are the states and the edges are the state transitions, both labeled 
with state name resp. condition code. Note however that this will be nothing 
more than a visualization tool; I have no plans for creating a graphical 
code editor.

At the moment both of these features are merely (long time) plans. I am 
currently quite occupied with some deep refactorings needed for implementing 
parameterizable state sets...

Cheers
Ben

Attachment: signature.asc
Description: This is a digitally signed message part.


Replies:
Re: Support Required for SNL Kasemir, Kay
References:
Support Required for SNL manta santosh aditya santosh_aditya

Navigate by Date:
Prev: Support Required for SNL manta santosh aditya santosh_aditya
Next: Re: Support Required for SNL J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Support Required for SNL manta santosh aditya santosh_aditya
Next: Re: Support Required for SNL Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024