FSM(有限状态机)发生器 - 开源 [英] FSM (Finite State Machine) Generator - Open Source

查看:337
本文介绍了FSM(有限状态机)发生器 - 开源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。


我宣布在开源领域有一个全新的,免费的FSM生成器

:NunniFSMGen - 发布1.0- RC1

http://nunnifsmgen.nunnisoft.ch


NunniFSMGen是一个从转换表开始的java工具

生成相应的FSM(有限状态机)

Java,C或C ++源代码。它已于2003年在NunniSoft开发,用于生成我们自己软件的FSM,并且成功使用了
(此处为NunniSoft),因为它是第一个内部的

发布(2003年6月)。


NunniFSMGen与其他FSM生成器不同,因为它通过使用修改后的方式将逻辑与实现完全分开

版本的状态模式。实际上,您只需要修改所有生成的文件中的一个。因此,它非常容易集成到您的开发过程中。


为了展示NunniFSMGen在软件开发中的作用,

我们已经开发并刚刚发布(再次作为开源)

a小(小于30KB)java xml解析器,NunniMJAX。

http://nunnimjax.nunnisoft.ch


由于事实高达现在它只是一个人的努力,而且它仍然非常年轻..它

肯定还有bug ...但是测试用例现在显示

总体来说它表现得相当好。


贡献,补丁,错误报告或仅仅是成功案例

欢迎。


祝你好运。

-

Roberto Nunnari-软件工程师 -

mailto: ro**@nunnisoft.ch

Residenza Boschetto 12电话/传真:+ 41-91-6046511

6935 Bosco Lu ganese"手机:+ 41-76-3208561

瑞士(oo)

====================== == oOO ==(_)== OOo ============= ===========


--- - =通过Newsfeeds.Com发布,未经审查的Usenet新闻= -----
http: //www.newsfeeds.com - 世界排名第一的新闻组服务!

----- ==超过100,000个新闻组--19个不同的服务器! = -----

解决方案




Roberto Nunnari写道:

大家好。

我宣布在开源领域有一个全新的,免费的FSM生成器:NunniFSMGen - 发布1.0-RC1

http://nunnifsmgen.nunnisoft.ch

NunniFSMGen是一个从过渡表开始的java工具


对于许多应用来说,这是一个不好的起点。


< snip> NunniFSMGen与其他FSM生成器不同,因为它将逻辑与实现完全分开


这并没有那么不同。请查看 http://www.stateworks.com/ -

他们已经这样做了大约20年。


< snip>

事实上,你只想要修改所有生成的文件之一。


不可接受。任何人都不应该修改任何生成的文件,因为当你需要增强原始的

并且发现你无法重新生成代码时,会产生维护问题。模型和你最终

试图维护最初由机器生成的代码,因此,

通常比手写代码更难以维护。


< snip> http://nunnimjax.nunnisoft.ch



如果我能阅读网页,我可能会给它一个旋转....


Ed。


Ed Morton写道:



Roberto Nunnari写道:

大家好。

我宣布在开源领域有一个全新的,免费的FSM生成器:NunniFSMGen - 发布1.0-RC1

< a rel =nofollowhref =http://nunnifsmgen.nunnisoft.chtarget =_ blank> http://nunnifsmgen.nunnisoft.ch

NunniFSMGen是一个java从过渡表开始的工具

对于许多应用来说,这是一个糟糕的起点。




这很有趣..做您为caos编码了吗?


< snip>

NunniFSMGen与其他不同FSM生成器,因为它将逻辑与实现完全分开

这并没有那么不同。请查看 http://www.stateworks.com/ -
他们已经这样做了大约20年。




humm ..这意味着因为已经有商业解决方案

freeOfCharge开源新工具没有空间吗?


< snip>
实际上,你只想要
< blockquote class =post_quotes>修改所有生成的文件之一。

不可接受。没有人应该修改任何生成的文件,因为当您需要增强原始文件时会产生维护问题,并且发现您无法从模型中重新生成代码并最终/>尝试维护最初由机器生成的代码,因此,通常比手写代码更难以维护。




那是'好点..这是真的..它肯定可以改进..但是它的价格还不错......首先,一个文件不会被覆盖,

其次..当你修改你的fsm表并重新生成代码时

通常不会有那么多的修改......通常我甚至不需要
必须编辑任何东西......如果需要编辑,那么一个

图形差异工具可以很容易。


也许你给了在吐痰句子之前试一试..

< snip>

http://nunnimjax.nunnisoft.ch

如果我能阅读网页我可能已经给它一个旋转....




也许,如果你有意愿看它,你会找到

链接到英文页面......这是该网站每个页面的每个页面的右上角。

http://nunnimjax.nunnisoft.ch/en/

Ed。




最后,感谢您的积极和建设性的帖子。

当然世界需要你!


- ---- =通过Newsfeeds.Com发布,未经审查的Usenet新闻= -----
http://www.newsfeeds.com - 世界排名第一的新闻组服务!

----- ==超过100,000个新闻组--19个不同的服务器! = -----


Ed Morton写道:

NunniFSMGen是一个java工具从转换表开始这对于许多应用来说都是一个糟糕的起点。




那么?他说这对一切都有益......

不可接受。没有人应该修改任何生成的文件




对你来说有个好消息:它是开源的,所以要把它修好你的内心,

然后与世界分享你的修复和改进...


惊人的......你实际上没有任何好的或有用的说法,但你认为

有人关心吗?无论如何,抱怨者和评论家都是一毛钱,一个人多一个,多少一个,谁在乎呢?


-

gabriel


Hi all.

I announce that there''s a brand new, free FSM Generator
in the Open Source arena: NunniFSMGen - release 1.0-RC1

http://nunnifsmgen.nunnisoft.ch

NunniFSMGen is a java tool that starting from a transition table
generates the corresponding FSM (Finite State Machine) in
Java, C or C++ source code. It has been developped in 2003
at NunniSoft for generating the FSMs of our own software and
successfully used (here at NunniSoft) since it''s first internal
release (in June 2003).

NunniFSMGen is different from other FSM generators because it
cleanly separates logic from implementation by using a modified
version of the state pattern. In fact, you''ll only want to
modify one of all the generated files. Thus making it very
easy to integrate in your development process.

To show how helpful NunniFSMGen is in software development,
we''ve developped and just released (again as Open Source)
a small (less than 30KB) java xml parser, NunniMJAX.

http://nunnimjax.nunnisoft.ch

Due to the fact that up to now it has been the effort of
just one person, and that it''s still extremely young.. it
surely still has bugs... but the testcases up to now show
that overall it behaves quite well.

Contributions, patches, bug reports or just success stories
are welcome.

Best regards.
--
Roberto Nunnari -software engineer-
mailto:ro**@nunnisoft.ch
Residenza Boschetto 12 tel/fax: +41-91-6046511
6935 Bosco Luganese """ mobile: +41-76-3208561
Switzerland (o o)
========================oOO==(_)==OOo============= ===========

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

解决方案



Roberto Nunnari wrote:

Hi all.

I announce that there''s a brand new, free FSM Generator
in the Open Source arena: NunniFSMGen - release 1.0-RC1

http://nunnifsmgen.nunnisoft.ch

NunniFSMGen is a java tool that starting from a transition table
That''s a bad starting point for many applications.

<snip> NunniFSMGen is different from other FSM generators because it
cleanly separates logic from implementation
That''s not so different. Take a look at http://www.stateworks.com/ -
they''ve been doing that for about 20 years.

<snip>
In fact, you''ll only want to modify one of all the generated files.
Unacceptable. No one should ever have to modify any generated file as
that creates a maintenance problem when you need to enhance the original
and find you can''t regenerate the code from the model and you end up
trying to maintain code that was originally machine-generated and so,
typically, less easily maintainable than hand-written code.

<snip> http://nunnimjax.nunnisoft.ch



If I could''ve read the web page I might''ve given it a spin....

Ed.


Ed Morton wrote:



Roberto Nunnari wrote:

Hi all.

I announce that there''s a brand new, free FSM Generator
in the Open Source arena: NunniFSMGen - release 1.0-RC1

http://nunnifsmgen.nunnisoft.ch

NunniFSMGen is a java tool that starting from a transition table

That''s a bad starting point for many applications.



That''s interesting.. do you code for the caos?

<snip>

NunniFSMGen is different from other FSM generators because it
cleanly separates logic from implementation

That''s not so different. Take a look at http://www.stateworks.com/ -
they''ve been doing that for about 20 years.



humm.. that means that because there''s already a commercial solution
there''s no space for a freeOfCharge Open Source new tool?

<snip>
In fact, you''ll only want to

modify one of all the generated files.

Unacceptable. No one should ever have to modify any generated file as
that creates a maintenance problem when you need to enhance the original
and find you can''t regenerate the code from the model and you end up
trying to maintain code that was originally machine-generated and so,
typically, less easily maintainable than hand-written code.



That''s a good point.. it''s true.. it can surely be improved.. but it''s
not that bad.. First of all that one file will not be overwritten,
secondly.. when you modify your fsm table and regenerate the code
usually there will not be that many modification.. often I don''t even
have to edit anything... and if there is need for editing, then a
graphical diff tool makes it very easy.

Maybe if you gave it a try before spitting sentences..
<snip>

http://nunnimjax.nunnisoft.ch

If I could''ve read the web page I might''ve given it a spin....



maybe, if you had the will to look at it you would have found the
link to the english pages... that''s the right top corner in every
page of the site.

http://nunnimjax.nunnisoft.ch/en/
Ed.



Finally, thanks for your positive and constructive post.
Sure the world needs you!

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----


Ed Morton wrote:

NunniFSMGen is a java tool that starting from a transition table That''s a bad starting point for many applications.



So? He aint saying it''s good for everything...
Unacceptable. No one should ever have to modify any generated file as



Got good news for ya: It''s open source so fix it to your heart''s content,
and then share your fixes and improvements with the world...

Amazing... You actually had nothing good or useful to say, yet you think
someone cares? Whatever, complainers and critics are a dime a dozen, one
more, one less, who cares?

--
gabriel


这篇关于FSM(有限状态机)发生器 - 开源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆