[erlang-questions] Proposal for new state machine engine: gen_statem
Raimo Niskanen
raimo+erlang-questions@REDACTED
Thu Feb 11 14:24:23 CET 2016
On Thu, Feb 11, 2016 at 11:32:25AM +0000, Benoit Chesneau wrote:
> hrm how does it helps to figure the changes in the source code though?
It certainly does not. The OP asked for something to run.
The source code can be found through the pull request:
https://github.com/erlang/otp/pull/960
which points at a diff towards a branch in my GitHub repository:
https://github.com/erlang/otp/compare/maint...RaimoNiskanen:raimo/new-gen-state-machine/OTP-13065
In the pull request discussion i have linked to ready-built documentation:
http://erlang.org/~raimo/doc-7.2/lib/stdlib-2.7/doc/html/gen_statem.html
which many in the discussion dislike, but it is a reference manual so it
has to be complete and therefore looks complex. There are no simple
examples. Yet.
> On Thu, 11 Feb 2016 at 12:25, Raimo Niskanen <
> raimo+erlang-questions@REDACTED> wrote:
>
> > On Wed, Feb 10, 2016 at 07:04:00PM -0800, Sargun Dhillon wrote:
> > > Do you have a standalone implementation of gen_statem? It would be
> > > great to test converting some existing code, and see how it feels.
> >
> > Here is a tarball containing 6 ebin/*.beam files to replace in lib/stdlib
> > in an OTP-18.2 installation:
> > http://erlang.org/~raimo/OTP-18.2-stdlib-ebin-gen_statem.tgz
> >
> > Keep the original files around.
> >
> > >
> > > On Wed, Feb 10, 2016 at 4:56 AM, Raimo Niskanen
> > > <raimo+erlang-questions@REDACTED> wrote:
> > > > Hi all!
> > > >
> > > > I have created a pull request for a new state machine engine in the
> > gen_*
> > > > framework. There is a heated discussion right now on GitHUB:
> > > >
> > > > https://github.com/erlang/otp/pull/960
> > > >
> > > > Please contribute with an opinion.
> > > > --
> > > >
> > > > / Raimo Niskanen, Erlang/OTP, Ericsson AB
> > > > _______________________________________________
> > > > erlang-questions mailing list
> > > > erlang-questions@REDACTED
> > > > http://erlang.org/mailman/listinfo/erlang-questions
> > > _______________________________________________
> > > erlang-questions mailing list
> > > erlang-questions@REDACTED
> > > http://erlang.org/mailman/listinfo/erlang-questions
> >
> > --
> >
> > / Raimo Niskanen, Erlang/OTP, Ericsson AB
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
More information about the erlang-questions
mailing list