Some of the things in the hrl file could be replaced by Elixir macros or functions?
Sent from my non-google-device > On Sep 29, 2017, at 02:51, Marc Worrell <[email protected]> wrote: > > Hi Allen, > > Two weeks ago David de Boer and I had a look at how Elixir and > Erlang could be mixed. > > We concluded that it all should be possible to do with the master. > But also that we didn’t know enough of Elixir to make it frictionless. > So we need some help with this. > > The master is split in applications, and those will all be pushed to Hex. > That is a good start for any Elixir setup, I guess. > > The main zotonic.hrl is mainly included because we like to poke around in > #context{} (which we shouldn’t) and to use the ?DEBUG/1 macro. > > There are some other macros in there, but they are not essential. > So it is not really needed for building modules etc. > > We welcome help to make Zotonic work with Elixir! > > Arjan could probably help as well - though he is very busy right now. > > Cheers, Marc > > >> On 29 Sep 2017, at 03:17, Allen Wyma <[email protected]> wrote: >> >> Hi, >> >> Does anyone have a guide with how to use elixir with Zotonic? We're a ruby >> house that's looking to switch to elixir, but sometimes we get projects that >> seem to work better for a CMS. When I saw this project, I was quite amazed >> and we'd like to start to experiment a bit with it. >> >> Is it possible to have a guide of how to use elixir with Zotonic? I've tried >> looking a bit at the code for erlang, and it includes references to hrl >> (erlang macro/header files) which are not supported in elixir. This is >> probably my biggest question of how to translate over the code. >> >> Thanks >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Zotonic developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Zotonic developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
