Diesel behaviour (diesel v0.7.2)
Declarative programming in Elixir
Diesel is a toolkit that helps you build your own DSLs.
Usage:
defmodule MyApp.Fsm do
use Diesel,
otp_app: :my_app,
dsl: MyApp.Fsm.Dsl,
parsers: [
...
],
generators: [
...
]
end
For more information on how to use this library, please check:
- the
Diesel.Dsl
andDiesel.Tag
modules, - the guides and tutorials provided in the documentation
- the examples used in tests
Summary
Callbacks
Returns the raw definition for the dsl, before compilation
Types
Link to this type
element()
Link to this type
tag()
@type tag() :: atom()
Callbacks
Link to this callback
definition()
@callback definition() :: element()
Returns the raw definition for the dsl, before compilation